From 38f9fab6c47882bcb0c1ff4a1f75fd393c6ad352 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 20 Nov 2016 10:44:54 +0100 Subject: [PATCH] mysql keywords --- mod/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/admin.php b/mod/admin.php index ecb394b0e..c5ad7de3b 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -429,7 +429,7 @@ function admin_page_queue(&$a) { */ function admin_page_summary(&$a) { // are there MyISAM tables in the DB? If so, trigger a warning message - $r = q("select `engine` from `information_schema`.`tables` where `engine`='myisam' limit 1"); + $r = q("SELECT `engine` FROM `information_schema`.`tables` WHERE `engine`='myisam' LIMIT 1"); $showwarning = false; $warningtext = ""; if (dbm::is_result($r)) {