From 17890e60dfe4e77875f38149a3a9c6ed40a6fb91 Mon Sep 17 00:00:00 2001 From: megan_w 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