From 2c7972420c32a603e35ac5454fde6fd40b31259d Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 23 Nov 2006 05:27:42 +0000 Subject: [PATCH] Enabled base moving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5200 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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\", "); } } -- 2.30.2