From dd29ad13eb1c3dd11fa67c533f7538fb0932218b Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 7 Aug 2011 16:53:17 +0200 Subject: [PATCH] Fix bug #3382126: Linked tags does not work for tags with spaces --- data/templates/default/sidebar.block.linked.php | 2 +- doc/ChangeLog | 1 + www/ajax/getlinkedtags.php | 7 +++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/templates/default/sidebar.block.linked.php b/data/templates/default/sidebar.block.linked.php index 9aa3cc0..d3a25a5 100644 --- a/data/templates/default/sidebar.block.linked.php +++ b/data/templates/default/sidebar.block.linked.php @@ -14,7 +14,7 @@ require_once('sidebar.linkedtags.inc.php'); /* Manage input */ $user = isset($user)?$user:''; $userid = isset($userid)?$userid:0; -$currenttag = isset($currenttag)?$currenttag:''; +$currenttag = isset($currenttag) ? str_replace('+', ',', $currenttag) : ''; //$summarizeLinkedTags = isset($summarizeLinkedTags)?$summarizeLinkedTags:false; $logged_on_userid = $userservice->getCurrentUserId(); diff --git a/doc/ChangeLog b/doc/ChangeLog index ab3681b..714eae3 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -8,6 +8,7 @@ ChangeLog for SemantiScuttle - Fix bug #3385724: Rename tag ends with XML Parsing Error - Fix bug #3386178: "system:unfiled" secret tag does not work - Fix bug #3384416: Update documentation to explain HTTP/HTTPS root problem +- Fix bug #3382126: Linked tags does not work for tags with spaces - Fix delicious API help page link Run ``scripts/fix-unfiled-tags.php`` to fix old bookmarks that miss the diff --git a/www/ajax/getlinkedtags.php b/www/ajax/getlinkedtags.php index d8ddb5b..9bb3b1f 100644 --- a/www/ajax/getlinkedtags.php +++ b/www/ajax/getlinkedtags.php @@ -1,13 +1,12 @@