aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page/insert.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page/insert.php')
-rw-r--r--admin/page/insert.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/page/insert.php b/admin/page/insert.php
index 979dbd9..1f9d391 100644
--- a/admin/page/insert.php
+++ b/admin/page/insert.php
@@ -41,9 +41,9 @@ $userIDs = $Database->query(sprintf('SELECT id FROM %s ORDER BY fullname ASC', U
foreach($userIDs->fetchAll($Database::FETCH_COLUMN) as $userID) {
$User = User\Factory::build($userID);
$userAttributes[] = [
- 'ID' => $User->attr('id'),
- 'FULLNAME' => $User->attr('fullname'),
- 'USERNAME' => $User->attr('username'),
+ 'ID' => $User->get('id'),
+ 'FULLNAME' => $User->get('fullname'),
+ 'USERNAME' => $User->get('username'),
];
}