Remove remnant $key from old spec version code.

This commit is contained in:
Justin Hileman
2011-09-10 14:11:36 -07:00
parent 507f5c631f
commit 1fa5d288e7
-1
View File
@@ -654,7 +654,6 @@ class Mustache {
$val = $this->_getVariable($tag_name); $val = $this->_getVariable($tag_name);
if ($this->_varIsCallable($val)) { if ($this->_varIsCallable($val)) {
$key = is_object($val) ? spl_object_hash($val) : serialize($val);
$val = $this->_renderTemplate(call_user_func($val)); $val = $this->_renderTemplate(call_user_func($val));
} }