diff options
Diffstat (limited to 'admin/post/update.php')
-rw-r--r-- | admin/post/update.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/post/update.php b/admin/post/update.php index 6fb621d..e22a54a 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -44,9 +44,9 @@ try { 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'), ]; } |