diff options
Diffstat (limited to 'admin/post/insert.php')
-rw-r--r-- | admin/post/insert.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/post/insert.php b/admin/post/insert.php index 6b1876e..b4e2542 100644 --- a/admin/post/insert.php +++ b/admin/post/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'), ]; } |