]> git.mxchange.org Git - friendica.git/commitdiff
for people whose DB's are not updating
authorfriendica <info@friendica.com>
Fri, 27 Jan 2012 07:08:51 +0000 (23:08 -0800)
committerfriendica <info@friendica.com>
Fri, 27 Jan 2012 07:08:51 +0000 (23:08 -0800)
include/security.php

index 394986f279ca8146835becd621ef71507b0ec30f..ed5777109856103abce0967a01d02fda04315b6d 100755 (executable)
@@ -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",