fixed a typo in call of getPartialsLoader in loadPartial

This commit is contained in:
behrooz shabani (everplays) 2012-11-09 21:42:21 +03:30
parent a5ef5f213b
commit 9d5a661083

View File

@ -413,7 +413,7 @@ class Handlebars_Engine
*/ */
public function loadPartial($name) public function loadPartial($name)
{ {
$source = $this->getPartialLoader()->load($name); $source = $this->getPartialsLoader()->load($name);
$tree = $this->_tokenize($source); $tree = $this->_tokenize($source);
return new Handlebars_Template($this, $tree, $source); return new Handlebars_Template($this, $tree, $source);
} }