Changed default value
This commit is contained in:
@@ -124,7 +124,7 @@ function common_content(App $a)
|
||||
$entries = [];
|
||||
foreach ($common_friends as $common_friend) {
|
||||
//get further details of the contact
|
||||
$contact_details = Model\Contact::getByURLForUser($common_friend['url'], $uid, false);
|
||||
$contact_details = Model\Contact::getByURLForUser($common_friend['url'], $uid);
|
||||
|
||||
// $rr['id'] is needed to use contact_photo_menu()
|
||||
/// @TODO Adding '/" here avoids E_NOTICE on missing constants
|
||||
|
||||
@@ -164,7 +164,7 @@ function display_fetchauthor($a, $item)
|
||||
$profiledata["about"] = "";
|
||||
}
|
||||
|
||||
$profiledata = array_merge($profiledata, Contact::getByURLForUser($profiledata["url"], local_user(), false));
|
||||
$profiledata = array_merge($profiledata, Contact::getByURLForUser($profiledata["url"], local_user()));
|
||||
|
||||
if (!empty($profiledata["photo"])) {
|
||||
$profiledata["photo"] = DI::baseUrl()->remove($profiledata["photo"]);
|
||||
|
||||
@@ -104,7 +104,7 @@ function suggest_content(App $a)
|
||||
'hide' => [DI::l10n()->t('Ignore/Hide'), $ignlnk]
|
||||
];
|
||||
|
||||
$contact_details = array_merge($rr, Contact::getByURLForUser($rr["url"], local_user(), false));
|
||||
$contact_details = array_merge($rr, Contact::getByURLForUser($rr["url"], local_user()));
|
||||
|
||||
$entry = [
|
||||
'url' => Contact::magicLink($rr['url']),
|
||||
|
||||
Reference in New Issue
Block a user