diff options
Diffstat (limited to 'core/include/user')
-rw-r--r-- | core/include/user/list.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/user/list.php b/core/include/user/list.php index 4cba8f0..c977077 100644 --- a/core/include/user/list.php +++ b/core/include/user/list.php @@ -38,7 +38,7 @@ foreach($userIDs as $userID) { $User = User\Factory::build($userID); $ItemTemplate = generateUserItemTemplate($User); - $users[] = $ItemTemplate; + $templates[] = $ItemTemplate; } catch(User\Exception $Exception){} } @@ -52,7 +52,7 @@ $ListTemplate->set('PAGINATION', [ 'HTML' => generateUserNaviTemplate($currentSite) ]); $ListTemplate->set('LIST', [ - 'USERS' => $users ?? [] + 'USERS' => $templates ?? [] ]); $MainTemplate = Template\Factory::build('main'); |