1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

#3767 - Fix RSS feed links in 'forumname' feed

This commit is contained in:
Tijn Kuyper
2019-09-18 16:30:36 +02:00
parent 2db9df45b1
commit f4c8fe1dfd

View File

@@ -525,21 +525,21 @@ class forum_rss // plugin-folder + '_rss'
$rss = array(); $rss = array();
$i = 0; $i = 0;
$topic_link = foreach($tmp as $value)
e107::url( {
$topic_link =
e107::url(
'forum', 'forum',
'topic', 'topic',
array array
( (
'forum_sef' => $topic['forum_sef'], 'forum_sef' => $value['forum_sef'],
'thread_id' => $topic['thread_id'], 'thread_id' => $value['thread_id'],
'thread_sef' => eHelper::title2sef($topic['thread_name']), 'thread_sef' => eHelper::title2sef($value['thread_name']),
), ),
array('mode' => 'full') array('mode' => 'full')
); );
foreach($tmp as $value)
{
// Check if post was done anonymously // Check if post was done anonymously
if($value['thread_user_anon']) // Anonymous user entered specific name if($value['thread_user_anon']) // Anonymous user entered specific name