If etemplate_exec_id is lost, pass along any GET parameters with redirect

This commit is contained in:
Nathan Gray 2011-06-09 16:47:40 +00:00
parent 768859718f
commit e59b50e7fb

View File

@ -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);
}