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;
|
$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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user