diff options
Diffstat (limited to 'admin/page/insert.php')
-rw-r--r-- | admin/page/insert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/page/insert.php b/admin/page/insert.php index 0f421f6..f8a4cbf 100644 --- a/admin/page/insert.php +++ b/admin/page/insert.php @@ -42,7 +42,7 @@ if(HTTP::issetPOST('id', 'user', 'slug', 'name', 'body', 'time_insert', 'time_up 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'), |