From 833f085eb2f6f957045f2bce4874c61de9a93ebb Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Fri, 9 Nov 2001 08:57:37 +0000 Subject: Checked all calls to message_die and made sure that if they would be outputted to a user without a major error that they got their error string from the lang file Also made sure all calls had the right arguments in teh right place git-svn-id: file:///svn/phpbb/trunk@1289 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_groups.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/admin/admin_groups.php') diff --git a/phpBB/admin/admin_groups.php b/phpBB/admin/admin_groups.php index 85a9c73ee4..d74a9bc392 100644 --- a/phpBB/admin/admin_groups.php +++ b/phpBB/admin/admin_groups.php @@ -63,7 +63,7 @@ if( isset($HTTP_POST_VARS['edit']) || isset($HTTP_POST_VARS['new']) ) } if( !$db->sql_numrows($result) ) { - message_die(GENERAL_MESSAGE, "That user group does not exist"); + message_die(GENERAL_MESSAGE, $lang['Group_not_exist']); } $group_info = $db->sql_fetchrow($result); @@ -199,7 +199,7 @@ else if( isset($HTTP_POST_VARS['group_update']) ) } if( !$db->sql_numrows($result) ) { - message_die(GENERAL_MESSAGE, "That user group does not exist"); + message_die(GENERAL_MESSAGE, $lang['Group_not_exist']); } $group_info = $db->sql_fetchrow($result); -- cgit v1.2.1