From b7dfa800d39ceea7e19fc24b7b4a353635938957 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sun, 22 Oct 2017 12:23:41 +0200 Subject: [PATCH] feat: Admin log in descending order --- GameEngine/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Database.php b/GameEngine/Database.php index 384b8c89..81caa057 100755 --- a/GameEngine/Database.php +++ b/GameEngine/Database.php @@ -1060,7 +1060,7 @@ class MYSQLi_DB { } function getAdminLog() { - $q = "SELECT id,user,log,time from " . TB_PREFIX . "admin_log where id != 0 ORDER BY id ASC"; + $q = "SELECT id,user,log,time from " . TB_PREFIX . "admin_log where id != 0 ORDER BY id DESC"; $result = mysqli_query($this->dblink,$q); return $this->mysqli_fetch_all($result); }