aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/output/tags.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/default/output/tags.php b/views/default/output/tags.php
index d5d2f1ce0..39cee3280 100644
--- a/views/default/output/tags.php
+++ b/views/default/output/tags.php
@@ -1,7 +1,10 @@
<?php
- if (!empty($vars['tags']) && is_array($vars['tags'])) {
+ if (!empty($vars['tags'])) {
$string = "";
+ if (!is_array($vars['tags']))
+ $vars['tags'] = array($vars['tags']);
+
foreach($vars['tags'] as $tag) {
if (!empty($tagstr)) {
$tagstr .= ", ";