aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 87113155ea..9bfdd0d51a 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -30,9 +30,9 @@ include($phpbb_root_path . 'includes/functions_posting.'.$phpEx);
//
// Is PM disabled?
//
-if ( !empty($config['privmsg_disable']) )
+if (!empty($config['privmsg_disable']))
{
- message_die(MESSAGE, 'PM_disabled');
+ trigger_error('PM_disabled');
}
$html_entities_match = array('#&#', '#<#', '#>#');