bzick 2015-08-13 11:03:51 +03:00
parent 1363945716
commit 544aa4f248

View File

@ -963,7 +963,12 @@ class Fenom
{ {
$options |= $this->_options; $options |= $this->_options;
if (is_array($template)) { if (is_array($template)) {
$key = $options . "@" . implode(",", $template); if(count($template) === 1) {
$template = current($template);
$key = $options . "@" . $template;
} else {
$key = $options . "@" . implode(",", $template);
}
} else { } else {
$key = $options . "@" . $template; $key = $options . "@" . $template;
} }