aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-02 23:23:53 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-02 23:23:53 +0100
commit4c550c221bebed3e45dec49fa741b02c608fa446 (patch)
treeee2c321d38a2c66e2c383118bef896e76208c31e /phpBB/includes/mcp/mcp_queue.php
parent56314f4c22491dd5b2aacb2a013850c7f3171be8 (diff)
downloadforums-4c550c221bebed3e45dec49fa741b02c608fa446.tar
forums-4c550c221bebed3e45dec49fa741b02c608fa446.tar.gz
forums-4c550c221bebed3e45dec49fa741b02c608fa446.tar.bz2
forums-4c550c221bebed3e45dec49fa741b02c608fa446.tar.xz
forums-4c550c221bebed3e45dec49fa741b02c608fa446.zip
[ticket/14954] Properly check if topic has attachments in mcp_queue
PHPBB3-14954
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 9060cc1098..f379392b12 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -577,7 +577,7 @@ class mcp_queue
'POST_SUBJECT' => ($row['post_subject'] != '') ? $row['post_subject'] : $user->lang['NO_SUBJECT'],
'TOPIC_TITLE' => $row['topic_title'],
'POST_TIME' => $user->format_date($row['post_time']),
- 'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && $row['post_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
+ 'S_HAS_ATTACHMENTS' => $auth->acl_get('u_download') && $auth->acl_get('f_download', $row['forum_id']) && $row['post_attachment'],
));
}
unset($rowset, $forum_names);