aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php4
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);