From a01dc6620d300a21532cd8a2bf634be9d1ba9406 Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 6 Jul 2016 14:47:07 +0100 Subject: [PATCH] Changed mysql strict from warn to fail --- validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate.php b/validate.php index 230ab0b393..8204dcf061 100755 --- a/validate.php +++ b/validate.php @@ -156,7 +156,7 @@ else { // Test for MySQL Strict mode $strict_mode = dbFetchCell("SELECT @@global.sql_mode"); if(strstr($strict_mode, 'STRICT_TRANS_TABLES')) { - print_warn('You have MySQL STRICT_TRANS_TABLES enabled, it is advisable to disable this until full support has been added: https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html'); + print_fail('You have MySQL STRICT_TRANS_TABLES enabled, please disable this until full support has been added: https://dev.mysql.com/doc/refman/5.0/en/sql-mode.html'); } $tz = ini_get('date.timezone');