Fixed additional instance of 'only variables should be passed by reference' warning
This commit is contained in:
+2
-1
@@ -170,7 +170,8 @@ class Mustache {
|
||||
}
|
||||
} else if ($val) {
|
||||
if (is_array($val) || is_object($val)) {
|
||||
$replace .= $this->_render($content, $this->getContext($context, $val));
|
||||
$c = $this->getContext($context, $val);
|
||||
$replace .= $this->_render($content, $c);
|
||||
} else {
|
||||
$replace .= $content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user