From 7d6cb23c358d2fbef8774e7be3316b37cecf80cf Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 9 Dec 2017 12:35:36 +1100 Subject: [PATCH] CRM-21534 fix invokation of test for MariaDB --- 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 a82614e465ff..dba0c9ebe82c 100644 --- a/CRM/Utils/SQL.php +++ b/CRM/Utils/SQL.php @@ -80,7 +80,7 @@ public static function supportsFullGroupBy() { // CRM-21455 MariaDB 10.2 does not support ANY_VALUE $version = CRM_Core_DAO::singleValueQuery('SELECT VERSION()'); - if (stripos('mariadb', $version) !== FALSE) { + if (stripos($version, 'mariadb') !== FALSE) { return FALSE; }