From 4ec8a466b8ae9bfcb495b57cc1c90ac8de3533e2 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 4 Apr 2008 17:31:46 +0000 Subject: Updated the tags input field git-svn-id: https://code.elgg.org/elgg/trunk@407 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/tags.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/default/input') 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; + } } } -- cgit v1.2.3