From fcb0c89962242fec72d7ed01c7049601a696e4be Mon Sep 17 00:00:00 2001 From: Henry Sudhof <kellanved@phpbb.com> Date: Sun, 22 Jul 2007 14:04:26 +0000 Subject: Cleaning up (#13689) Also removed the useless login box from the ACP. git-svn-id: file:///svn/phpbb/trunk@7919 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/message_parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/message_parser.php') diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index c5349efabe..ea28061da0 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -1515,7 +1515,7 @@ class parse_message extends bbcode_firstpass if (sizeof($not_orphan)) { - trigger_error($user->lang['NO_ACCESS_ATTACHMENT'], E_USER_ERROR); + trigger_error('NO_ACCESS_ATTACHMENT', E_USER_ERROR); } // Regenerate newly uploaded attachments @@ -1541,7 +1541,7 @@ class parse_message extends bbcode_firstpass if (sizeof($orphan)) { - trigger_error($user->lang['NO_ACCESS_ATTACHMENT'], E_USER_ERROR); + trigger_error('NO_ACCESS_ATTACHMENT', E_USER_ERROR); } ksort($this->attachment_data); -- cgit v1.2.1