|
From: Paul S. O. <ps...@us...> - 2002-02-12 17:14:42
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv14018/includes
Modified Files:
functions.php
Log Message:
Change way error is returned to validate email/username, fixes problem with lack of language support for error output and subsequent doubled username, etc. issues + remove get_userdata_from_id and use get_userdata instead + other minor changes
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.115
retrieving revision 1.116
diff -C2 -r1.115 -r1.116
*** functions.php 9 Feb 2002 15:54:40 -0000 1.115
--- functions.php 12 Feb 2002 17:14:39 -0000 1.116
***************
*** 75,101 ****
}
! function get_userdata_from_id($user_id)
{
global $db;
$sql = "SELECT *
! FROM " . USERS_TABLE . "
! WHERE user_id = $user_id";
! if ( !($result = $db->sql_query($sql)) )
[...971 lines suppressed...]
{
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
***************
*** 1066,1070 ****
exit;
-
}
--- 1030,1033 ----
***************
*** 1087,1089 ****
}
! ?>
--- 1050,1052 ----
}
! ?>
\ No newline at end of file
|