summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62cc124)
raw | patch | inline | side by side (parent: 62cc124)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Nov 2006 06:54:33 +0000 (06:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Nov 2006 06:54:33 +0000 (06:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5207 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..ebddd810af024e1c61becb511f2a490a52ca3e42 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\", ");
}
}