@@ -134,7 +134,7 @@ class Mustache_Context
|
||||
{
|
||||
for ($i = count($stack) - 1; $i >= 0; $i--) {
|
||||
if (is_object($stack[$i])) {
|
||||
if( $stack[$i] instanceof ArrayAccess) {
|
||||
if ($stack[$i] instanceof ArrayAccess) {
|
||||
if (isset($stack[$i][$id])) {
|
||||
return $stack[$i][$id];
|
||||
}
|
||||
@@ -149,6 +149,7 @@ class Mustache_Context
|
||||
return $stack[$i][$id];
|
||||
}
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user