Commit 9d9b1df7110c245afaaebef4c05a694a1b7d863c
1 parent
88d2dafe
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
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/tagcloud/TagCloudTriggers.php
| @@ -87,7 +87,7 @@ class KTAddDocumentTrigger { | @@ -87,7 +87,7 @@ class KTAddDocumentTrigger { | ||
| 87 | } | 87 | } |
| 88 | if($tagString != ''){ | 88 | if($tagString != ''){ |
| 89 | $words_table = KTUtil::getTableName('tag_words'); | 89 | $words_table = KTUtil::getTableName('tag_words'); |
| 90 | - $tagString = str_replace(' ', '', $tagString); | 90 | + $tagString = str_replace(' ', ' ', $tagString); |
| 91 | $tags = explode(',',$tagString); | 91 | $tags = explode(',',$tagString); |
| 92 | 92 | ||
| 93 | $aTagIds = array(); | 93 | $aTagIds = array(); |