From 91e3eeff8de5f732e1cd5a71c3d8e2a5a38ba4f6 Mon Sep 17 00:00:00 2001 From: shish Date: Sat, 8 Dec 2007 05:40:28 +0000 Subject: [PATCH] force tags to string git-svn-id: file:///home/shish/svn/shimmie2/trunk@642 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/tag_history/main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/tag_history/main.php b/contrib/tag_history/main.php index a57de4ea..0288272c 100644 --- a/contrib/tag_history/main.php +++ b/contrib/tag_history/main.php @@ -214,6 +214,8 @@ class Tag_History extends Extension { global $database; global $config; global $user; + + if(is_array($tags)) $tags = implode(' ', $tags); // add a history entry $allowed = $config->get_int("history_limit",10);