mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Fix for typo that wouldn't allow user registration line 487 should have checked for query to *NOT* be successful :D... But hey it was a Paul soooo... :D
git-svn-id: file:///svn/phpbb/trunk@2321 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -484,7 +484,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 obtained next user_id information', '', __LINE__, __FILE__, $sql);
|
||||
}
|
||||
@@ -966,4 +966,4 @@ $template->pparse('body');
|
||||
|
||||
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user