From 58d9b02e3e9673f0f4447446f8f1736bd9233e31 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 26 Feb 2006 19:44:45 +0000 Subject: - Patch #51189: fixed submit redirects. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 56e54885d..494c9fa5f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -55,7 +55,7 @@ function system_perm() { */ function system_elements() { // Top level form - $type['form'] = array('#method' => 'post', '#action' => request_uri(), '#redirect' => ''); + $type['form'] = array('#method' => 'post', '#action' => request_uri(), '#redirect' => $_GET['q']); // Inputs $type['checkbox'] = array('#input' => TRUE, '#return_value' => 1); -- cgit v1.2.3