aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewmessage.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-27 17:01:37 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-27 17:01:37 +0000
commit92c25a3e6c99bb071710b2f5dc5939262924233c (patch)
tree8871f65ac15eb1feb05b6e2fc3f07871da3b0fe8 /phpBB/includes/ucp/ucp_pm_viewmessage.php
parent3829c40b5715187c05d919e56fd37e36a9eb9886 (diff)
downloadforums-92c25a3e6c99bb071710b2f5dc5939262924233c.tar
forums-92c25a3e6c99bb071710b2f5dc5939262924233c.tar.gz
forums-92c25a3e6c99bb071710b2f5dc5939262924233c.tar.bz2
forums-92c25a3e6c99bb071710b2f5dc5939262924233c.tar.xz
forums-92c25a3e6c99bb071710b2f5dc5939262924233c.zip
#13791 - I hope this works :D
git-svn-id: file:///svn/phpbb/trunk@7960 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewmessage.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index f4baa4cb9c..8fab63bc45 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -203,6 +203,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
'S_HAS_ATTACHMENTS' => (sizeof($attachments)) ? true : false,
'S_DISPLAY_NOTICE' => $display_notice && $message_row['message_attachment'],
'S_AUTHOR_DELETED' => ($author_id == ANONYMOUS) ? true : false,
+ 'S_SPECIAL_FOLDER' => in_array($folder_id, array(PRIVMSGS_NO_BOX, PRIVMSGS_OUTBOX)),
'U_PRINT_PM' => ($config['print_pm'] && $auth->acl_get('u_pm_printpm')) ? "$url&amp;f=$folder_id&amp;p=" . $message_row['msg_id'] . "&amp;view=print" : '',
'U_FORWARD_PM' => ($config['forward_pm'] && $auth->acl_get('u_pm_forward')) ? "$url&amp;mode=compose&amp;action=forward&amp;f=$folder_id&amp;p=" . $message_row['msg_id'] : '')