From: cajus Date: Thu, 23 Nov 2006 05:27:42 +0000 (+0000) Subject: Enabled base moving X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c7972420c32a603e35ac5454fde6fd40b31259d;p=gosa.git Enabled base moving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5200 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/php_setup.inc b/include/php_setup.inc index d9bf3dc45..e83379c98 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -108,6 +108,12 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) $args= ""; if (isset($ct['args'])){ foreach ($ct['args'] as $arg){ + + /* Avoid convertig object to string errors */ + if(is_object($arg)){ + $arg = "CLASS: ".get_class($arg); + } + $args.= htmlentities("\"$arg\", "); } }