Fix: invalid key on adding render

This commit is contained in:
bzick 2013-05-20 20:36:03 +04:00
parent 319bf568ba
commit 707a13cd08

View File

@ -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;
}
/**