diff options
Diffstat (limited to 'include/security.php')
-rwxr-xr-x | include/security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/security.php b/include/security.php index 394986f27..ed5777109 100755 --- a/include/security.php +++ b/include/security.php @@ -56,7 +56,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive where `manage`.`uid` = %d", intval($master_record['uid']) ); - if(count($r)) + if($r && count($r)) $a->identities = array_merge($a->identities,$r); $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1", |