|
From: Paul S. O. <ps...@us...> - 2001-11-29 11:25:07
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv27715/includes
Modified Files:
functions.php
Log Message:
Fixed bug #486207
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** functions.php 2001/11/26 22:42:35 1.86
--- functions.php 2001/11/29 11:25:04 1.87
***************
*** 85,89 ****
if( !$db->sql_numrows($result) )
{
! message_die(GENERAL_ERROR, "No userdata for this user_id", "", __LINE__, __FILE__, $sql);
}
--- 85,89 ----
if( !$db->sql_numrows($result) )
{
! return false;
}
***************
*** 109,113 ****
if( !$db->sql_numrows($result) )
{
! message_die(GENERAL_ERROR, "Tried obtaining data for a non-existent user", "", __LINE__, __FILE__, $sql);
}
--- 109,113 ----
if( !$db->sql_numrows($result) )
{
! return false;
}
|