X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirfind.php;h=7d167494e6b6f7d1dd2f5729142cc846ca84adf2;hb=2894214347953f0d8f288ae1999688f2396d67a5;hp=c24ab9dbdb346257e1eed003ffad9f5f96e7a479;hpb=20043914e6111ba53df85e1efd3389c99d37302f;p=friendica.git diff --git a/mod/dirfind.php b/mod/dirfind.php index c24ab9dbdb..7d167494e6 100644 --- a/mod/dirfind.php +++ b/mod/dirfind.php @@ -1,12 +1,14 @@ 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) { @@ -204,7 +206,7 @@ function dirfind_content(App $a, $prefix = "") { $photo_menu = array(); } } else { - $connlnk = App::get_baseurl().'/follow/?url='.(($jj->connect) ? $jj->connect : $jj->url); + $connlnk = System::baseUrl().'/follow/?url='.(($jj->connect) ? $jj->connect : $jj->url); $conntxt = t('Connect'); $photo_menu = array( 'profile' => array(t("View Profile"), zrl($jj->url)),