aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-26 23:08:51 -0800
committerfriendica <info@friendica.com>2012-01-26 23:08:51 -0800
commit94b9e9ce6d872e72e9846809fedd4a4cee8d63e3 (patch)
treeca0d5c19a0a926a35d01ac09921f0fec96ab444f /include
parent3197a6e8aaacef1fb504c90d97f291f133151429 (diff)
downloadvolse-hubzilla-94b9e9ce6d872e72e9846809fedd4a4cee8d63e3.tar.gz
volse-hubzilla-94b9e9ce6d872e72e9846809fedd4a4cee8d63e3.tar.bz2
volse-hubzilla-94b9e9ce6d872e72e9846809fedd4a4cee8d63e3.zip
for people whose DB's are not updating
Diffstat (limited to 'include')
-rwxr-xr-xinclude/security.php2
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",