summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-25 10:00:57 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-25 10:00:57 +0000
commit3300aa2d4eeb26e2bc9c130d29cd4b698d403b34 (patch)
treef55816e11cefe95d64b7eac3268ed71dd9fd2cc7 /includes/form.inc
parent9e9e0e2c63ba762f75f4a05d912116b4d5aac26d (diff)
downloadbrdo-3300aa2d4eeb26e2bc9c130d29cd4b698d403b34.tar.gz
brdo-3300aa2d4eeb26e2bc9c130d29cd4b698d403b34.tar.bz2
#59960, Can't store the value of submit, patch by Zen
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 2afaa6893..07df6d782 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -176,8 +176,6 @@ function drupal_validate_form($form_id, $form, $callback = NULL) {
function drupal_submit_form($form_id, $form, $callback = NULL) {
global $form_values;
$default_args = array($form_id, &$form_values);
- // Prevent system module forms (system/theme settings) from saving certain form fields to the variables table.
- unset($GLOBALS['form_values']['submit'], $GLOBALS['form_values']['reset'], $GLOBALS['form_values']['form_id']);
if (isset($form['#submit'])) {
foreach ($form['#submit'] as $function => $args) {