]> git.mxchange.org Git - friendica.git/commitdiff
Contact::getAccountType()'s parameter is never a string, ops
authorRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 07:35:53 +0000 (09:35 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Jun 2022 07:36:24 +0000 (09:36 +0200)
src/Module/Directory.php

index 5705f33e1387e3980eb08e3a8810a1fb15e8006e..9fac9db302c72fe4ba54969de63d41a58fb5c9b9 100644 (file)
@@ -166,7 +166,7 @@ class Directory extends BaseModule
                        'img_hover'    => $contact['name'],
                        'name'         => $contact['name'],
                        'details'      => $details,
-                       'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? ''),
+                       'account_type' => Model\Contact::getAccountType($contact['contact-type'] ?? 0),
                        'profile'      => $profile,
                        'location'     => $location_e,
                        'tags'         => $contact['pub_keywords'],