mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
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:
parent
496d24592b
commit
67b91a4989
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user