diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 06:27:06 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 06:27:06 +0000 |
commit | a3a420c3e6f3805a91448c877a8a423f7232198c (patch) | |
tree | 355650769d2e533c6dc6c6d38ad057cca622b727 /modules/system/system.module | |
parent | f76acb2d9d421ff705be6fd2713b8cc2c007e1df (diff) | |
download | brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.gz brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.bz2 |
Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 448dcec1f..2ccdbc01a 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1296,11 +1296,6 @@ function system_node_type($op, $info) { * confirmed the action. You should never directly inspect $_POST to see if an * action was confirmed. * - * Note - if the parameters $question, $description, $yes, or $no could contain - * any user input (such as node titles or taxonomy terms), it is the - * responsibility of the code calling confirm_form() to sanitize them first with - * a function like check_plain() or filter_xss(). - * * @ingroup forms * @param $form * Additional elements to inject into the form, for example hidden elements. @@ -1334,7 +1329,7 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL, } $cancel = l($no ? $no : t('Cancel'), $path, array('query' => $query, 'fragment' => $fragment)); - drupal_set_title($question, PASS_THROUGH); + drupal_set_title($question); // Confirm form fails duplication check, as the form values rarely change -- so skip it. $form['#skip_duplicate_check'] = TRUE; |