summaryrefslogtreecommitdiff
path: root/articles_rss.php
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 08:16:12 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-16 08:16:12 +0100
commit6e30c337f7702ba2b0d3ce8392607c3d1a539164 (patch)
treee3bec4423589f1d02cbbf0641957e9545c1762aa /articles_rss.php
parent9dbee19cc5a1b71d982918b1452ce4184ed3ecf2 (diff)
downloadarticles-6e30c337f7702ba2b0d3ce8392607c3d1a539164.tar.gz
articles-6e30c337f7702ba2b0d3ce8392607c3d1a539164.tar.bz2
articles-6e30c337f7702ba2b0d3ce8392607c3d1a539164.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 'articles_rss.php')
-rw-r--r--articles_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/articles_rss.php b/articles_rss.php
index a9d4a00..3ce1f33 100644
--- a/articles_rss.php
+++ b/articles_rss.php
@@ -45,7 +45,7 @@ if( !$gBitUser->hasPermission( 'p_articles_read' ) ) {
foreach( $feeds as $feed ) {
$item = new FeedItem();
$item->title = $feed['title'];
- $item->link = $articles->getDisplayUrl( $feed['article_id'] );
+ $item->link = $articles->getContentUrl( $feed['article_id'] );
// show the full article in the feed
$parseHash['content_id'] = $feed['content_id'];