diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-29 11:25:04 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-29 11:25:04 +0000 |
commit | 1935343a15d8722439446118346784e6a41d287a (patch) | |
tree | 1980381a735c34904415b3d634bb577fc989fe03 /phpBB/includes | |
parent | 2b6be29f24fc3b16fa0e7d9cde93b2cc4261115b (diff) | |
download | forums-1935343a15d8722439446118346784e6a41d287a.tar forums-1935343a15d8722439446118346784e6a41d287a.tar.gz forums-1935343a15d8722439446118346784e6a41d287a.tar.bz2 forums-1935343a15d8722439446118346784e6a41d287a.tar.xz forums-1935343a15d8722439446118346784e6a41d287a.zip |
Fixed bug #486207
git-svn-id: file:///svn/phpbb/trunk@1474 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 188e77d1f5..b1c1f0b95f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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); |