Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.70
diff -u -r1.70 form.inc
--- includes/form.inc	23 Feb 2006 10:30:03 -0000	1.70
+++ includes/form.inc	25 Feb 2006 07:49:41 -0000
@@ -113,6 +113,9 @@
       elseif (isset($form['#redirect'])) {
         $goto = $form['#redirect'];
       }
+      else {
+        $goto = $_GET['q'];
+      }
       if ($goto !== FALSE) {
         if (is_array($goto)) {
           call_user_func_array('drupal_goto', $redirect);
@@ -993,4 +996,4 @@
 
 /**
  * @} End of "defgroup form".
- */
+ */
\ No newline at end of file
Index: modules/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system.module,v
retrieving revision 1.291
diff -u -r1.291 system.module
--- modules/system.module	21 Feb 2006 18:46:54 -0000	1.291
+++ modules/system.module	25 Feb 2006 07:48:16 -0000
@@ -55,7 +55,7 @@
  */
 function system_elements() {
   // Top level form
-  $type['form'] = array('#method' => 'post', '#action' => request_uri(), '#redirect' => '');
+  $type['form'] = array('#method' => 'post', '#action' => request_uri());
 
   // Inputs
   $type['checkbox'] = array('#input' => TRUE, '#return_value' => 1);
@@ -1269,4 +1269,4 @@
   $form['actions']['submit'] = array('#type' => 'submit', '#value' => $yes ? $yes : t('Confirm'));
   $form['actions']['cancel'] = array('#value' => l($no ? $no : t('Cancel'), $path));
   return drupal_get_form($form_id, $form, 'confirm_form');
-}
+}
\ No newline at end of file
