- Patch #46255 by chx et al: don't save formapi data for user registrations.

4.7.x
Dries Buytaert 2006-01-27 15:57:43 +00:00
parent 41e5f369f4
commit dbf0bb7e4c
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ function drupal_validate_form($form_id, &$form, $callback = NULL) {
function drupal_submit_form($form_id, $form, $callback = NULL) {
global $form_values;
unset($GLOBALS['form_values']['submit'], $GLOBALS['form_values']['form_id']);
if (isset($form['#submit'])) {
foreach ($form['#submit'] as $function => $args) {
if (function_exists($function)) {