forked from extern/egroupware
added a get-parameter "empty_post=1" if process_exec redirects to the app, because the _POST array is completly empty. That happens if post_max_size <= max_upload_size and is neccessary to give an adequte error-message about the failed upload in filemanager.
This commit is contained in:
parent
d0ccfa4b98
commit
c1647bfcbf
@ -429,7 +429,7 @@ foreach($sess as $key => $val)
|
||||
if ($this->sitemgr) return false;
|
||||
//echo "uitemplate::process_exec() id='$_POST[etemplate_exec_id]' invalid session-data !!!"; _debug_array($_SESSION);
|
||||
// this prevents an empty screen, if the sessiondata gets lost somehow
|
||||
$this->location(array('menuaction' => $_GET['menuaction']));
|
||||
$this->location(array('menuaction' => $_GET['menuaction'],'post_empty' => (int)!$_POST));
|
||||
}
|
||||
$this->name_vars = $session_data['name_vars'];
|
||||
if (isset($submit_button) && !empty($submit_button))
|
||||
|
Loading…
Reference in New Issue
Block a user