X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FDirectory.php;h=b79e7b1495a3c89ac99b60f2e26a6b4938499ed3;hb=036b565a7846916f763ce1dcbcaade0844ff1589;hp=a81780a28014f5b89af0ec3f5cb423e1d42c1a7d;hpb=3bae52074a644b0ade3808bed9fc1268e1baa4e3;p=friendica.git diff --git a/src/Module/Directory.php b/src/Module/Directory.php index a81780a280..b79e7b1495 100644 --- a/src/Module/Directory.php +++ b/src/Module/Directory.php @@ -1,6 +1,6 @@ get('system', 'directory'); + $dirURL = Search::getGlobalDirectory(); if (strlen($dirURL)) { $gDirPath = Profile::zrl($dirURL, true); } @@ -165,7 +166,7 @@ class Directory extends BaseModule 'img_hover' => $contact['name'], 'name' => $contact['name'], 'details' => $details, - 'account_type' => Model\Contact::getAccountType($contact), + 'account_type' => Model\Contact::getAccountType($contact['contact-type']), 'profile' => $profile, 'location' => $location_e, 'tags' => $contact['pub_keywords'],