aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/groupcp.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-11-09 08:57:37 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-11-09 08:57:37 +0000
commit833f085eb2f6f957045f2bce4874c61de9a93ebb (patch)
treea2ef34fbb21450b22e81c6919fd439d2abcd75fa /phpBB/groupcp.php
parent41c15e37ce86a63e9120c37f3ef178acf8736083 (diff)
downloadforums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.gz
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.bz2
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.tar.xz
forums-833f085eb2f6f957045f2bce4874c61de9a93ebb.zip
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
Diffstat (limited to 'phpBB/groupcp.php')
-rw-r--r--phpBB/groupcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php
index de36828a9b..6d706f8e1e 100644
--- a/phpBB/groupcp.php
+++ b/phpBB/groupcp.php
@@ -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);