From 86926ff735cdb7e635a19b01cccd0a94eb2b6d30 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 19:36:22 +0200 Subject: Rename some template variables --- admin/user/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/user/index.php') diff --git a/admin/user/index.php b/admin/user/index.php index 7d0cfa8..57e1c3c 100644 --- a/admin/user/index.php +++ b/admin/user/index.php @@ -36,7 +36,7 @@ foreach($userIDs as $userID) { $User = User\Factory::build($userID); $ItemTemplate = generateUserItemTemplate($User); - $users[] = $ItemTemplate; + $templates[] = $ItemTemplate; } catch(User\Exception $Exception){} } @@ -50,7 +50,7 @@ $PaginationTemplate->set('HREF', Application::getAdminURL('user/?site=%d')); $ListTemplate = Template\Factory::build('user/index'); $ListTemplate->set('LIST', [ - 'USERS' => $users ?? [] + 'USERS' => $templates ?? [] ]); $ListTemplate->set('PAGINATION', [ -- cgit v1.2.3