X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirfind.php;h=884eca9a663d5426b49bd962d672f486352ed652;hb=7034d6efbd988e7481ac6f5d6413a8925221ed6b;hp=a62eded39d2566887d94ec3db767fd31e2e2df1a;hpb=56ee734b00aead633d5d213a6b140b75bc17ba96;p=friendica.git diff --git a/mod/dirfind.php b/mod/dirfind.php index a62eded39d..884eca9a66 100644 --- a/mod/dirfind.php +++ b/mod/dirfind.php @@ -1,9 +1,13 @@ results[] = $objresult; // Add the contact to the global contacts if it isn't already in our system - if (($contact["cid"] == 0) AND ($contact["zid"] == 0) AND ($contact["gid"] == 0)) { + if (($contact["cid"] == 0) && ($contact["zid"] == 0) && ($contact["gid"] == 0)) { update_gcontact($user_data); } } elseif ($local) {