mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-31 02:21:28 +01:00
need to set $_REQUEST in ajax_exec, as some apps use $_REQUEST to check $_GET or $_POST
This commit is contained in:
parent
bf0fbbb521
commit
db1a9c4596
@ -966,6 +966,7 @@ abstract class Ajax extends Api\Framework
|
|||||||
{
|
{
|
||||||
$_SERVER['REQUEST_URI'] = '?'.$parts['query'];
|
$_SERVER['REQUEST_URI'] = '?'.$parts['query'];
|
||||||
parse_str($parts['query'],$_GET);
|
parse_str($parts['query'],$_GET);
|
||||||
|
$_REQUEST = $_GET; // some apps use $_REQUEST to check $_GET or $_POST
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_GET['menuaction']))
|
if (!isset($_GET['menuaction']))
|
||||||
|
Loading…
Reference in New Issue
Block a user