Me getting irritated now ...

git-svn-id: file:///svn/phpbb/trunk@2342 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-19 01:10:21 +00:00
parent 654e5151cf
commit 913562743e

View file

@ -479,7 +479,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql); message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
} }
if ( !($row = $db->sql_fetchrow($result) ) if ( !($row = $db->sql_fetchrow($result)) )
{ {
message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql); message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
} }
@ -487,7 +487,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
$sql = "SELECT MAX(group_id) AS total $sql = "SELECT MAX(group_id) AS total
FROM " . GROUPS_TABLE; FROM " . GROUPS_TABLE;
if ( !($result = $db->sql_query($sql) ) ) if ( !($result = $db->sql_query($sql)) )
{ {
message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql); message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
} }