aboutsummaryrefslogtreecommitdiff
path: root/views/rss/pageshells/pageshell.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-19 22:01:39 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-19 22:01:39 +0000
commitc7c0c843248e497b97d34585db3171b458155930 (patch)
tree313df97b414cf03010bdca7249f65c807e34c37d /views/rss/pageshells/pageshell.php
parentd3384c02c0a69acfbdbd9d8d73f8b477e0691713 (diff)
downloadelgg-c7c0c843248e497b97d34585db3171b458155930.tar.gz
elgg-c7c0c843248e497b97d34585db3171b458155930.tar.bz2
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
Diffstat (limited to 'views/rss/pageshells/pageshell.php')
-rw-r--r--views/rss/pageshells/pageshell.php4
1 files changed, 2 insertions, 2 deletions
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);
?>