mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
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
Block a user