diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-12-14 12:59:07 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-12-14 12:59:07 +0000 |
commit | 2ac753b7258504d53a158a89ea36dbff6df0ca3e (patch) | |
tree | 032509293447236d38b0f4a0c2e1c62788b3b7bb /phpBB/feed.php | |
parent | Bug #23935 - help_faq , explanation of "How do I show an image below my usern... (diff) | |
download | phpbb-2ac753b7258504d53a158a89ea36dbff6df0ca3e.tar.gz phpbb-2ac753b7258504d53a158a89ea36dbff6df0ca3e.tar.bz2 phpbb-2ac753b7258504d53a158a89ea36dbff6df0ca3e.zip |
"0" is a valid title.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10338 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r-- | phpBB/feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index 20f0d7e7b0..a7c6f831a3 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -84,7 +84,7 @@ while ($row = $feed->get_item()) $options = $row[$feed->get('options')]; } - $title = ($row[$feed->get('title')]) ? $row[$feed->get('title')] : ((isset($row[$feed->get('title2')])) ? $row[$feed->get('title2')] : ''); + $title = (isset($row[$feed->get('title')]) && $row[$feed->get('title')] !== '') ? $row[$feed->get('title')] : ((isset($row[$feed->get('title2')])) ? $row[$feed->get('title2')] : ''); $item_time = (int) $row[$feed->get('date')]; |