Index: branches/5.2.x/core/kernel/globals.php =================================================================== diff -u -N -r14870 -r14905 --- branches/5.2.x/core/kernel/globals.php (.../globals.php) (revision 14870) +++ branches/5.2.x/core/kernel/globals.php (.../globals.php) (revision 14905) @@ -1,6 +1,6 @@ 2) { + if ( $ret && func_num_args() > 2 ) { for ($i = 2; $i < func_num_args(); $i++) { $cur_key = func_get_arg($i); - $ret = getArrayValue( $ret, $cur_key ); + $ret = getArrayValue($ret, $cur_key); - if ($ret === false) { + if ( $ret === false ) { break; } }