aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/user/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/user/list.php')
-rw-r--r--core/include/user/list.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/include/user/list.php b/core/include/user/list.php
index c977077..b64eee5 100644
--- a/core/include/user/list.php
+++ b/core/include/user/list.php
@@ -36,9 +36,7 @@ $userIDs = $Database->query(sprintf($execSQL, User\Attribute::TABLE))->fetchAll(
foreach($userIDs as $userID) {
try {
$User = User\Factory::build($userID);
- $ItemTemplate = generateUserItemTemplate($User);
-
- $templates[] = $ItemTemplate;
+ $templates[] = generateUserItemTemplate($User);
} catch(User\Exception $Exception){}
}