diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-20 23:17:51 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-20 23:17:51 +0000 |
commit | 532f02b327d557127a32f42ff93ce83892998c58 (patch) | |
tree | a43000b22aac8ec334cb7f5e3abedc60c9bcd80f /modules | |
parent | d5974b78629c3ee01592eab2f2576d57893cd688 (diff) | |
download | brdo-532f02b327d557127a32f42ff93ce83892998c58.tar.gz brdo-532f02b327d557127a32f42ff93ce83892998c58.tar.bz2 |
#199241 by bjaspan, Heine: fix documentation on how confirm forms are constructed; port of Drupal 5 fix
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 573562c11..3dd696ec6 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -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 |