Skip to content

Commit 97aafd9

Browse files
committed
Fixed 'Trying to get property of non-object'
1 parent 1c19817 commit 97aafd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Backend/UserBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function getDisplayNames($search = "", $limit = null, $offset = null)
387387

388388
$names = [];
389389
foreach ($users as $user) {
390-
$names[$user->uid] = $user->name;
390+
$names[$user] = $user->name;
391391
}
392392

393393
$this->logger->debug(

0 commit comments

Comments
 (0)