diff --git a/src/Fenom.php b/src/Fenom.php index e638819..31d36c4 100644 --- a/src/Fenom.php +++ b/src/Fenom.php @@ -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; }