summaryrefslogtreecommitdiff
path: root/blogs_rss.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 08:29:31 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 08:29:31 +0100
commitf4ee76af71b50fdb208f1438de1bdabc42f8c20e (patch)
tree1c986790164835dedc067dd93ce03d0f89e397e0 /blogs_rss.php
parent07f9ecc680251483a12e05272507ad40e9089e0e (diff)
downloadblogs-f4ee76af71b50fdb208f1438de1bdabc42f8c20e.tar.gz
blogs-f4ee76af71b50fdb208f1438de1bdabc42f8c20e.tar.bz2
blogs-f4ee76af71b50fdb208f1438de1bdabc42f8c20e.zip
Tidy up to remove 'STRICT' warnings
Split static and dynamic use of getDisplayUrl Create getContentUrl as the instantiated version parameters need to be identical across all classes
Diffstat (limited to 'blogs_rss.php')
-rw-r--r--blogs_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/blogs_rss.php b/blogs_rss.php
index 4ee02dd..cd1c37e 100644
--- a/blogs_rss.php
+++ b/blogs_rss.php
@@ -78,7 +78,7 @@ if( !$gBitUser->hasPermission( 'p_blogs_view' ) ) {
foreach( $feeds['data'] as $feed ) {
$item = new FeedItem();
$item->title = $blogPost->getTitle( $feed );
- $item->link = BIT_BASE_URI.$blogPost->getDisplayUrl( $feed['content_id'] );
+ $item->link = BIT_BASE_URI.$blogPost->getContentUrl( $feed['content_id'] );
$item->description = $feed['parsed'];
$item->date = ( int )$feed['last_modified'];