From 532f02b327d557127a32f42ff93ce83892998c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 20 Dec 2007 23:17:51 +0000 Subject: #199241 by bjaspan, Heine: fix documentation on how confirm forms are constructed; port of Drupal 5 fix --- modules/system/system.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/system/system.module') 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 -- cgit v1.2.3