fixing assumed typo regarding:preg_match(): No ending delimiter '^' found in class.mail_ui.inc.php on line 144

This commit is contained in:
Klaus Leithoff 2014-08-21 14:11:35 +00:00
parent 75feb92950
commit 814f0b705c

View File

@ -140,7 +140,7 @@ class mail_ui
//error_log(__METHOD__.__LINE__.array2string($this->mail_bo->icServer));
// RegEx to minimize extra openConnection
$needle = '^(?!mail)/';
$needle = '/^(?!mail)/';
if (!preg_match($needle,$_GET['menuaction']) && !egw_json_request::isJSONRequest())
{
//error_log(__METHOD__.__LINE__.' Fetched IC Server openConnection:'.self::$icServerID.'/'.$this->mail_bo->profileID.':'.function_backtrace());