diff --git a/krumo/class.krumo.php b/krumo/class.krumo.php index fde9e4c..25dd1e5 100755 --- a/krumo/class.krumo.php +++ b/krumo/class.krumo.php @@ -605,8 +605,7 @@ This is a list of all the values from the $bee){ // skip closures set as properties - $closure_prototype = function(){}; - if (is_object($bee) && !($bee instanceof $closure_prototype)) { + if (is_object($bee) && !($bee instanceof Closure)) { unset($hive[$i]->$_recursion_marker); // DEVEL: changed 'else' to 'elseif' below } elseif (is_array($bee)) {