mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Some corrections for r10347 and r10345.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10348 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
437c66e8c8
commit
9d436a33f6
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ foreach ($item_vars as $row)
|
|||
echo '<link href="' . $row['link'] . '"/>' . "\n";
|
||||
echo '<title type="html"><![CDATA[' . $row['title'] . ']]></title>' . "\n\n";
|
||||
|
||||
if (!empty($row['category']) && isset($row['category_name']))
|
||||
if (!empty($row['category']) && isset($row['category_name']) && $row['category_name'] !== '')
|
||||
{
|
||||
echo '<category term="' . $row['category_name'] . '" scheme="' . $row['category'] . '" label="' . $row['category_name'] . '"/>' . "\n";
|
||||
}
|
||||
|
@ -1161,7 +1161,7 @@ class phpbb_feed_topics extends phpbb_feed_base
|
|||
{
|
||||
global $user;
|
||||
|
||||
$item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row)
|
||||
$item_row['statistics'] = $user->lang['POSTED'] . ' ' . $user->lang['POST_BY_AUTHOR'] . ' ' . $this->user_viewprofile($row)
|
||||
. ' ' . $this->separator_stats . ' ' . $user->format_date($row['topic_time'])
|
||||
. ' ' . $this->separator_stats . ' ' . $user->lang['REPLIES'] . ' ' . $row['topic_replies']
|
||||
. ' ' . $this->separator_stats . ' ' . $user->lang['VIEWS'] . ' ' . $row['topic_views'];
|
||||
|
|
Loading…
Add table
Reference in a new issue