1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

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
This commit is contained in:
James Atkinson
2001-11-09 08:57:37 +00:00
parent 41c15e37ce
commit 833f085eb2
6 changed files with 21 additions and 9 deletions

View File

@@ -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);