diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 01:14:09 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 01:14:09 +0100 |
commit | 91637f80703b0942e0eed268c79aaab0f5f6b81f (patch) | |
tree | ce9d04d322d3db2ee64c7751643135307048688a /phpBB/includes/mcp/mcp_queue.php | |
parent | 70cf5ddf9d09cf6f4598ee5ac6e4de0d0a0f33f6 (diff) | |
parent | 4c550c221bebed3e45dec49fa741b02c608fa446 (diff) | |
download | forums-91637f80703b0942e0eed268c79aaab0f5f6b81f.tar forums-91637f80703b0942e0eed268c79aaab0f5f6b81f.tar.gz forums-91637f80703b0942e0eed268c79aaab0f5f6b81f.tar.bz2 forums-91637f80703b0942e0eed268c79aaab0f5f6b81f.tar.xz forums-91637f80703b0942e0eed268c79aaab0f5f6b81f.zip |
Merge pull request #4608 from marc1706/ticket/14954
[ticket/14954] Properly check if topic has attachments in mcp_queue
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 2 |
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); |