Commit 532f02b3 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#199241 by bjaspan, Heine: fix documentation on how confirm forms are...

#199241 by bjaspan, Heine: fix documentation on how confirm forms are constructed; port of Drupal 5 fix
parent d5974b78
......@@ -1085,9 +1085,9 @@ function system_node_type($op, $info) {
* offered to go back to the item that is being changed in case the user changes
* his/her mind.
*
* You can check for the existence of $_POST[$name] (where $name
* is usually 'confirm') to check if the confirmation was successful or
* use the regular submit model.
* If the submit handler for this form is invoked, the user successfully
* confirmed the action. You should never directly inspect $_POST to see if an
* action was confirmed.
*
* @ingroup forms
* @param $form
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment