From 650da27fac32804c87787aa4220bed8cce7035ec Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 26 Mar 2012 07:23:52 +0000 Subject: [PATCH] Upps, forgot argument --- phpgwapi/inc/common_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index 224d95cb48..cfced46ab1 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -1365,7 +1365,7 @@ if (isset($_GET['menuaction']) && !preg_match('/^[A-Za-z0-9_]+\.[A-Za-z0-9_]+\.[ } // $GLOBALS[egw_info][flags][currentapp] and die if it contains something nasty or unexpected if (isset($GLOBALS['egw_info']) && isset($GLOBALS['egw_info']['flags']) && - isset($GLOBALS['egw_info']['flags']['currentapp']) && !preg_match('/^[A-Za-z0-9_]+$/')) + isset($GLOBALS['egw_info']['flags']['currentapp']) && !preg_match('/^[A-Za-z0-9_]+$/',$GLOBALS['egw_info']['flags']['currentapp'])) { die('Invalid $GLOBALS[egw_info][flags][currentapp]!'); }