1
1
Fork 0

Issue 5798: We had displayed the author as owner

This commit is contained in:
Michael 2018-10-01 17:36:23 +00:00
parent 103535d620
commit e3a4a9c407

View file

@ -819,7 +819,7 @@ function api_item_get_user(App $a, $item)
$status_user["protected"] = defaults($item, 'private', 0);
if (defaults($item, 'thr-parent', '') == defaults($item, 'uri', '')) {
$owner_user = api_get_user($a, defaults($item, 'author-id', null));
$owner_user = api_get_user($a, defaults($item, 'owner-id', null));
} else {
$owner_user = $status_user;
}