aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page/update.php')
-rw-r--r--admin/page/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/page/update.php b/admin/page/update.php
index 0489406..857631d 100644
--- a/admin/page/update.php
+++ b/admin/page/update.php
@@ -44,7 +44,7 @@ try {
try {
$userIDs = $Database->query(sprintf('SELECT id FROM %s ORDER BY fullname ASC', User\Attribute::TABLE));
- foreach($userIDs->fetchAll(PDO::FETCH_COLUMN) as $userID) {
+ foreach($userIDs->fetchAll($Database::FETCH_COLUMN) as $userID) {
$User = User\Factory::build($userID);
$userAttributes[] = [
'ID' => $User->attr('id'),