From c7c0c843248e497b97d34585db3171b458155930 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 19 Feb 2010 22:01:39 +0000 Subject: Fixes #1535: Corrected double replace for URL in RSS title view. git-svn-id: http://code.elgg.org/elgg/trunk@3950 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/rss/pageshells/pageshell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/rss/pageshells') diff --git a/views/rss/pageshells/pageshell.php b/views/rss/pageshells/pageshell.php index 5db5e437f..c62ac4aac 100644 --- a/views/rss/pageshells/pageshell.php +++ b/views/rss/pageshells/pageshell.php @@ -25,8 +25,8 @@ if (empty($vars['title'])) { } // Remove RSS from URL -$url = str_replace('?view=rss','',full_url()); -$url = str_replace('&view=rss','',full_url()); +$url = str_replace('?view=rss','', full_url()); +$url = str_replace('&view=rss','', $url); ?> -- cgit v1.2.3