From 913562743e0a7284292dbf5a52a5af9ff2028492 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 19 Mar 2002 01:10:21 +0000 Subject: [PATCH] Me getting irritated now ... git-svn-id: file:///svn/phpbb/trunk@2342 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/usercp_register.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/usercp_register.php b/phpBB/includes/usercp_register.php index da28d485c9..5f3aea6f6b 100644 --- a/phpBB/includes/usercp_register.php +++ b/phpBB/includes/usercp_register.php @@ -479,7 +479,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) 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); } @@ -487,7 +487,7 @@ if ( isset($HTTP_POST_VARS['submit']) ) $sql = "SELECT MAX(group_id) AS total 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); }