aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user/index.php')
-rw-r--r--admin/user/index.php4
1 files changed, 2 insertions, 2 deletions
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', [