diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-12 16:42:25 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-12 16:42:25 +0100 |
commit | d5b26e682cc94c62b8ad1360d4be1e74a55f22a9 (patch) | |
tree | db3771d616bb6bcd7cc682b7438a18d7d9f5bf5f /settings/controller | |
parent | 26b0a89874dc1a3279471b9fbf35420d63fd45dd (diff) | |
download | nextcloud-server-d5b26e682cc94c62b8ad1360d4be1e74a55f22a9.tar.gz nextcloud-server-d5b26e682cc94c62b8ad1360d4be1e74a55f22a9.zip |
Use array key instead of value
Diffstat (limited to 'settings/controller')
-rw-r--r-- | settings/controller/userscontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php index dbd8118375a..579d38f7091 100644 --- a/settings/controller/userscontroller.php +++ b/settings/controller/userscontroller.php @@ -91,7 +91,7 @@ class UsersController extends Controller { */ private function getUsersForUID(array $userIDs) { $users = []; - foreach ($userIDs as $uid) { + foreach ($userIDs as $uid => $displayName) { $users[] = $this->userManager->get($uid); } return $users; |