Fixed additional instance of 'only variables should be passed by reference' warning

This commit is contained in:
Justin Hileman
2010-04-30 11:16:43 -04:00
parent eb94cb8179
commit 9a30573718
+2 -1
View File
@@ -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;
}