Changed parameter order for "getbyURLForUser"

This commit is contained in:
Michael 2020-07-15 17:22:12 +00:00
commit e374aecc46
11 changed files with 14 additions and 14 deletions

View file

@ -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(), false));
if (!empty($profiledata["photo"])) {
$profiledata["photo"] = DI::baseUrl()->remove($profiledata["photo"]);