From 9d9b1df7110c245afaaebef4c05a694a1b7d863c Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Tue, 18 Mar 2008 06:42:00 +0000 Subject: [PATCH] KTS-3154 "new Tags with spaces are created without spaces" Fixed. The spaces were being removed using a str_replace. --- plugins/tagcloud/TagCloudTriggers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tagcloud/TagCloudTriggers.php b/plugins/tagcloud/TagCloudTriggers.php index 7451a3c..c1a3117 100644 --- a/plugins/tagcloud/TagCloudTriggers.php +++ b/plugins/tagcloud/TagCloudTriggers.php @@ -87,7 +87,7 @@ class KTAddDocumentTrigger { } if($tagString != ''){ $words_table = KTUtil::getTableName('tag_words'); - $tagString = str_replace(' ', '', $tagString); + $tagString = str_replace(' ', ' ', $tagString); $tags = explode(',',$tagString); $aTagIds = array(); -- libgit2 0.21.4