fix for SiteMgr not being able to edit a block (menuaction=sitemgr.Content_UI.manage) after r55434, need to rework whole index

This commit is contained in:
Ralf Becker 2016-03-21 20:19:29 +00:00
parent 496d24592b
commit 67b91a4989

View File

@ -47,7 +47,8 @@ if(isset($_GET['menuaction']) && preg_match('/^[A-Za-z0-9_]+\.[A-Za-z0-9_\\\\]+\
{ {
list($app_from_class) = explode('_', $class); 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; $invalid_data = True;
} }