From 67b91a498981692cd31fbd589f0a12ce65d0351c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 21 Mar 2016 20:19:29 +0000 Subject: [PATCH] fix for SiteMgr not being able to edit a block (menuaction=sitemgr.Content_UI.manage) after r55434, need to rework whole index --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 9cf87e204e..ebfc3f4e59 100755 --- a/index.php +++ b/index.php @@ -47,7 +47,8 @@ if(isset($_GET['menuaction']) && preg_match('/^[A-Za-z0-9_]+\.[A-Za-z0-9_\\\\]+\ { list($app_from_class) = explode('_', $class); } - if(!$app || !$class || !$method || isset($app_from_class) && $app_from_class != $app) + if(!$app || !$class || !$method || isset($app_from_class) && + isset($GLOBALS['egw_info']['apps'][$app_from_class]) && $app_from_class != $app) { $invalid_data = True; }