This commit is contained in:
parent
1363945716
commit
544aa4f248
|
@ -963,7 +963,12 @@ class Fenom
|
|||
{
|
||||
$options |= $this->_options;
|
||||
if (is_array($template)) {
|
||||
$key = $options . "@" . implode(",", $template);
|
||||
if(count($template) === 1) {
|
||||
$template = current($template);
|
||||
$key = $options . "@" . $template;
|
||||
} else {
|
||||
$key = $options . "@" . implode(",", $template);
|
||||
}
|
||||
} else {
|
||||
$key = $options . "@" . $template;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue