summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86984ae)
raw | patch | inline | side by side (parent: 86984ae)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Nov 2006 05:27:42 +0000 (05:27 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Nov 2006 05:27:42 +0000 (05:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5200 594d385d-05f5-0310-b6e9-bd551577e9d8
include/php_setup.inc | patch | blob | history |
diff --git a/include/php_setup.inc b/include/php_setup.inc
index d9bf3dc458ca0645e40cd3ebdfbd9c06db094ded..e83379c9826cdd039a758e2d177d6658e75e8a22 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
$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\", ");
}
}