aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/tags.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/input/tags.php b/views/default/input/tags.php
index 7cbc169a5..057a6d56b 100644
--- a/views/default/input/tags.php
+++ b/views/default/input/tags.php
@@ -8,7 +8,11 @@
if (!empty($tags)) {
$tags .= ", ";
}
- $tags .= $tag->tag;
+ if (is_string($tag)) {
+ $tags .= $tag;
+ } else {
+ $tags .= $tag->value;
+ }
}
}