mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
If etemplate_exec_id is lost, pass along any GET parameters with redirect
This commit is contained in:
parent
768859718f
commit
e59b50e7fb
@ -444,6 +444,9 @@ class etemplate extends boetemplate
|
||||
$redirect['failed_upload'] = 1;
|
||||
$redirect['msg'] = lang('Error uploading file!')."\n".self::max_upload_size_message();
|
||||
}
|
||||
} else if ($_SERVER['REQUEST_METHOD'] == 'GET') {
|
||||
// Pass along any parameters
|
||||
$redirect = $_GET;
|
||||
}
|
||||
$this->location($redirect);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user