diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index feedb1db3..68417015c 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -550,7 +550,7 @@ class Debugger { // Sniff for globals as !== explodes in < 5.4 if ($key === 'GLOBALS' && is_array($val) && isset($val['GLOBALS'])) { $val = '[recursion]'; - } else if ($val !== $var) { + } elseif ($val !== $var) { $val = self::_export($val, $depth, $indent); } $vars[] = $break . self::exportVar($key) .