Commit 17890e60dfe4e77875f38149a3a9c6ed40a6fb91

Authored by megan_w
1 parent 5dcc40ab

KTS-3154

"new Tags with spaces are created without spaces"
Fixed. The spaces were being removed using a str_replace.

Committed by: Megan Watson
Reviewed by: Jonathan Byrne



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8269 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/tagcloud/TagCloudTriggers.php
... ... @@ -87,7 +87,7 @@ class KTAddDocumentTrigger {
87 87 }
88 88 if($tagString != ''){
89 89 $words_table = KTUtil::getTableName('tag_words');
90   - $tagString = str_replace(' ', '', $tagString);
  90 + $tagString = str_replace(' ', ' ', $tagString);
91 91 $tags = explode(',',$tagString);
92 92  
93 93 $aTagIds = array();
... ...