1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 18:26:32 +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

@@ -512,7 +512,7 @@ else if( $group_id )
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);
@@ -993,7 +993,7 @@ else
if( !$db->sql_numrows($result) )
{
message_die(GENERAL_MESSAGE, "No groups exist");
message_die(GENERAL_MESSAGE, $lang['No_groups_exist']);
}
$group_list = $db->sql_fetchrowset($result);