From a187c3c0118039453270d87d016c50b561ce9119 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Nov 2007 11:37:30 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7871 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/php_setup.inc b/include/php_setup.inc index a9afd8377..3a047fd64 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -57,7 +57,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) } /* Send all errors to logging class, except "Ldap : No such object" messages*/ - if(@class_exists("log") && !preg_match("/No such object/",$message)){ + if(@class_exists("log") && !preg_match("/No such object/",$errstr)){ new log("debug","all",$errfile,array(),"Type:".$errno.", Message:".$errstr.", File:".$errfile.", Line: ".$errline); } -- 2.30.2