mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix: invalid key on adding render
This commit is contained in:
parent
319bf568ba
commit
707a13cd08
|
@ -595,7 +595,7 @@ class Cytro {
|
|||
* @param Cytro\Render $template
|
||||
*/
|
||||
public function addTemplate(Cytro\Render $template) {
|
||||
$this->_storage[ $template->getName().".".dechex($template->getOptions()) ] = $template;
|
||||
$this->_storage[dechex($template->getOptions()).'@'. $template->getName() ] = $template;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user