aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-12-14 12:59:07 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-12-14 12:59:07 +0000
commit2ac753b7258504d53a158a89ea36dbff6df0ca3e (patch)
tree032509293447236d38b0f4a0c2e1c62788b3b7bb /phpBB/feed.php
parentBug #23935 - help_faq , explanation of "How do I show an image below my usern... (diff)
downloadphpbb-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.php2
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')];