From d5b26e682cc94c62b8ad1360d4be1e74a55f22a9 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 12 Dec 2014 16:42:25 +0100 Subject: Use array key instead of value --- settings/controller/userscontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/controller/userscontroller.php') 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; -- cgit v1.2.3