aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-06 14:54:22 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-06 14:54:22 +0200
commit62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0 (patch)
tree11dbc3b6ab0f85d52496079d85c92f59e05b65f6 /phpBB/feed.php
parentf4df3f0aaf72ac0bb1a2538b09da971d422e4dcc (diff)
downloadforums-62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0.tar
forums-62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0.tar.gz
forums-62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0.tar.bz2
forums-62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0.tar.xz
forums-62b4e7b9d25a8e947d2bec67888ad006f0f1b4b0.zip
[ticket/12421] Rebase and enable tests
PHPBB3-12421
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 90f77747d7..db0ed5364e 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -100,7 +100,7 @@ while ($row = $feed->get_item())
$published = ($feed->get('published') !== NULL) ? (int) $row[$feed->get('published')] : 0;
$updated = ($feed->get('updated') !== NULL) ? (int) $row[$feed->get('updated')] : 0;
- $display_attachments = ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && $row['post_attachment']) ? true : false;
+ $display_attachments = ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && isset($row['post_attachment']) && $row['post_attachment']) ? true : false;
$item_row = array(
'author' => ($feed->get('creator') !== NULL) ? $row[$feed->get('creator')] : '',