|
From: Jonathan H. <the...@us...> - 2002-03-18 19:00:41
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv23448
Modified Files:
usercp_register.php
Log Message:
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
Index: usercp_register.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/usercp_register.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** usercp_register.php 18 Mar 2002 15:21:22 -0000 1.2
--- usercp_register.php 18 Mar 2002 19:00:35 -0000 1.3
***************
*** 485,489 ****
$sql = "SELECT MAX(group_id) AS total
FROM " . GROUPS_TABLE;
! if ( $result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not obtained next user_id information', '', __LINE__, __FILE__, $sql);
--- 485,489 ----
$sql = "SELECT MAX(group_id) AS total
FROM " . GROUPS_TABLE;
! if (!( $result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtained next user_id information', '', __LINE__, __FILE__, $sql);
***************
*** 967,969 ****
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
\ No newline at end of file
--- 967,969 ----
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
! ?>
|