mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 19:40:23 +02: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:
@@ -188,7 +188,7 @@ foreach ($item_vars as $row)
|
|||||||
echo '<link href="' . $row['link'] . '"/>' . "\n";
|
echo '<link href="' . $row['link'] . '"/>' . "\n";
|
||||||
echo '<title type="html"><![CDATA[' . $row['title'] . ']]></title>' . "\n\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";
|
echo '<category term="' . $row['category_name'] . '" scheme="' . $row['category'] . '" label="' . $row['category_name'] . '"/>' . "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user