Commit 7d6cb23c authored by Seamus Lee's avatar Seamus Lee

CRM-21534 fix invokation of test for MariaDB

parent b638c713
......@@ -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) !== FALSE) {
if (stripos($version, 'mariadb') !== FALSE) {
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment