mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
4350c9b937
commit
52b98bc965
1 changed files with 2 additions and 2 deletions
|
@ -484,7 +484,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 obtained next user_id information', '', __LINE__, __FILE__, $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);
|
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue