mirror of
https://github.com/Mibew/handlebars.php.git
synced 2025-05-03 18:43:07 +03:00
fixed a typo
This commit is contained in:
parent
ff503a90a2
commit
300f44e8c6
@ -353,7 +353,7 @@ class Template
|
|||||||
private function _isSection($current)
|
private function _isSection($current)
|
||||||
{
|
{
|
||||||
$helpers = $this->getEngine()->getHelpers();
|
$helpers = $this->getEngine()->getHelpers();
|
||||||
// Tokenizer do not process the args -if any- so be aware of that
|
// Tokenizer doesn't process the args -if any- so be aware of that
|
||||||
$name = explode(' ', $current[Tokenizer::NAME]);
|
$name = explode(' ', $current[Tokenizer::NAME]);
|
||||||
return $helpers->has(reset($name));
|
return $helpers->has(reset($name));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user