1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00
git-svn-id: file:///svn/phpbb/trunk@1474 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-11-29 11:25:04 +00:00
parent 2b6be29f24
commit 1935343a15
3 changed files with 12 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ function get_userdata_from_id($userid)
if( !$db->sql_numrows($result) )
{
message_die(GENERAL_ERROR, "No userdata for this user_id", "", __LINE__, __FILE__, $sql);
return false;
}
$row = $db->sql_fetchrow($result);
@@ -108,7 +108,7 @@ function get_userdata($username) {
if( !$db->sql_numrows($result) )
{
message_die(GENERAL_ERROR, "Tried obtaining data for a non-existent user", "", __LINE__, __FILE__, $sql);
return false;
}
$row = $db->sql_fetchrow($result);