Skip to content

Commit

Permalink
Try to fix recursion issues in PHP5.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 9, 2012
1 parent dca050f commit c94a684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/Debugger.php
Expand Up @@ -542,7 +542,7 @@ protected static function _array(array $var, $depth, $indent) {

if ($depth >= 0) {
foreach ($var as $key => $val) {
if ($val !== $var) {
if ($val != $var) {
$val = self::_export($val, $depth, $indent);
} else {
$val = '[recursion]';
Expand Down

0 comments on commit c94a684

Please sign in to comment.