From db1a9c4596c025ea45ae6e50828809fdd76ea8fb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 6 May 2016 10:03:45 +0000 Subject: [PATCH] need to set $_REQUEST in ajax_exec, as some apps use $_REQUEST to check $_GET or $_POST --- api/src/Framework/Ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Framework/Ajax.php b/api/src/Framework/Ajax.php index 22606184b6..f8aeff31f8 100755 --- a/api/src/Framework/Ajax.php +++ b/api/src/Framework/Ajax.php @@ -966,6 +966,7 @@ abstract class Ajax extends Api\Framework { $_SERVER['REQUEST_URI'] = '?'.$parts['query']; parse_str($parts['query'],$_GET); + $_REQUEST = $_GET; // some apps use $_REQUEST to check $_GET or $_POST } if (!isset($_GET['menuaction']))