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:
@ -595,7 +595,7 @@ class Cytro {
|
|||||||
* @param Cytro\Render $template
|
* @param Cytro\Render $template
|
||||||
*/
|
*/
|
||||||
public function addTemplate(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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user