projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3599fa
)
Contact::getAccountType()'s parameter is never a string, ops
author
Roland Häder
<roland@mxchange.org>
Sun, 19 Jun 2022 07:35:53 +0000
(09:35 +0200)
committer
Roland Häder
<roland@mxchange.org>
Sun, 19 Jun 2022 07:36:24 +0000
(09:36 +0200)
src/Module/Directory.php
patch
|
blob
|
history
diff --git
a/src/Module/Directory.php
b/src/Module/Directory.php
index 5705f33e1387e3980eb08e3a8810a1fb15e8006e..9fac9db302c72fe4ba54969de63d41a58fb5c9b9 100644
(file)
--- a/
src/Module/Directory.php
+++ b/
src/Module/Directory.php
@@
-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'],