aboutsummaryrefslogtreecommitdiff
path: root/admin/admins
diff options
context:
space:
mode:
Diffstat (limited to 'admin/admins')
-rw-r--r--admin/admins/functions.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/admins/functions.php b/admin/admins/functions.php
index 8987322..563b507 100644
--- a/admin/admins/functions.php
+++ b/admin/admins/functions.php
@@ -44,10 +44,7 @@
{
global $db;
$result = $db->Query("SELECT `user_id`, `username`, `level` FROM `bayonet_users` ORDER BY `level` DESC, `username` ASC");
- while(($rows = $db->fetch($result))!=false)
- {
- $admins[] = $rows;
- }
+ $admins = $db->fetch($result);
$num = 1;
OpenTable("300px");