From fe847cdc09b3c5fca9e0f2e09635b43cd6594628 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 30 Nov 2017 07:40:52 +1100 Subject: [PATCH] Fix for mysql 5.7 crash due to not adding ANY_VALUE --- CRM/Utils/SQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/SQL.php b/CRM/Utils/SQL.php index e855f20dea..a82614e465 100644 --- a/CRM/Utils/SQL.php +++ b/CRM/Utils/SQL.php @@ -80,7 +80,7 @@ class CRM_Utils_SQL { // CRM-21455 MariaDB 10.2 does not support ANY_VALUE $version = CRM_Core_DAO::singleValueQuery('SELECT VERSION()'); - if (stripos('mariadb', $version) !== NULL) { + if (stripos('mariadb', $version) !== FALSE) { return FALSE; } -- 2.25.1