prevent too long error reports
This commit is contained in:
1 parent
fcd4e577cf
commit
d7975e33b7
3 files changed
+12
-2
No files matched your search
@@ -23,7 +23,7 @@ abstract class ClassUtil {
|
||||
if (is_string($object)) {
|
||||
return $object;
|
||||
}
|
||||
trigger_error("Invalid class param: '{$object}'!");
|
||||
trigger_error("Invalid class param: '" . print_r($object, true) . "'!");
|
||||
return (string)$object;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user