aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-02-28 01:03:44 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-02-28 01:03:44 +0100
commitbda64edae8ab88846771235220ebfa8ee6cfdaa1 (patch)
tree79ce962343dbf86f2c39e0f10d132c62256c1817 /phpBB
parent23475abab3e1a4e560d7b8b107fc76f9b88792f8 (diff)
parentffe691db1098c9bf9cd6c84d07bcdbc9a6cfb789 (diff)
downloadforums-bda64edae8ab88846771235220ebfa8ee6cfdaa1.tar
forums-bda64edae8ab88846771235220ebfa8ee6cfdaa1.tar.gz
forums-bda64edae8ab88846771235220ebfa8ee6cfdaa1.tar.bz2
forums-bda64edae8ab88846771235220ebfa8ee6cfdaa1.tar.xz
forums-bda64edae8ab88846771235220ebfa8ee6cfdaa1.zip
Merge branch 'ticket/nickvergessen/10024' into develop-olympus
* ticket/nickvergessen/10024: [ticket/10024] Populate unread information to template for styling issues.
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php
index 6b7172ca2b..bd7bf89854 100644
--- a/phpBB/includes/ucp/ucp_pm_viewfolder.php
+++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php
@@ -169,6 +169,7 @@ function view_folder($id, $mode, $folder_id, $folder)
'PM_IMG' => ($row_indicator) ? $user->img('pm_' . $row_indicator, '') : '',
'ATTACH_ICON_IMG' => ($auth->acl_get('u_pm_download') && $row['message_attachment'] && $config['allow_pm_attach']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
+ 'S_PM_UNREAD' => ($row['pm_unread']) ? true : false,
'S_PM_DELETED' => ($row['pm_deleted']) ? true : false,
'S_PM_REPORTED' => (isset($row['report_id'])) ? true : false,
'S_AUTHOR_DELETED' => ($row['author_id'] == ANONYMOUS) ? true : false,