aboutsummaryrefslogtreecommitdiff
path: root/www/functions/func_user.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_user.php')
-rwxr-xr-xwww/functions/func_user.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/functions/func_user.php b/www/functions/func_user.php
index d9e202d..8efd104 100755
--- a/www/functions/func_user.php
+++ b/www/functions/func_user.php
@@ -290,7 +290,11 @@ function user_id($db, $user){
}
$owner = $owner_ar[0];
- return $owner;
+ if($owner != ""){
+ return $owner;
+ } else {
+ return false;
+ }
}
function change_username($db, $oldname, $newname){