aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-04 17:31:46 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-04 17:31:46 +0000
commit4ec8a466b8ae9bfcb495b57cc1c90ac8de3533e2 (patch)
treedc9a9895deec2aa1cbecc81c75286a530a77b6af
parentb03d97416750fab0afeb0bf5c6860f4f904124f3 (diff)
downloadelgg-4ec8a466b8ae9bfcb495b57cc1c90ac8de3533e2.tar.gz
elgg-4ec8a466b8ae9bfcb495b57cc1c90ac8de3533e2.tar.bz2
Updated the tags input field
git-svn-id: https://code.elgg.org/elgg/trunk@407 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;
+ }
}
}