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

This commit is contained in:
Ralf Becker 2014-08-22 10:19:32 +00:00
parent bf54802dff
commit 3fb93c33a6

View File

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