diff options
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index 6fcc34a..2cefa80 100644 --- a/it_debug.class +++ b/it_debug.class @@ -128,7 +128,7 @@ function dump($args) foreach ($args as $arg) { $var = array_shift($argnames); - if (gettype($arg) == "string" && class_exists($arg)) + if (gettype($arg) == "string" && class_exists($arg, false)) $arg = get_class_vars($arg); $item = gettype($arg) == 'resource' ? trim(print_r($arg, true)) : trim(var_export($arg, true)); |