projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #11163 from mickadoo/CRM-21334-fire-hooks-on-contact-image-deletion
[civicrm-core.git]
/
CRM
/
Utils
/
SQL.php
diff --git
a/CRM/Utils/SQL.php
b/CRM/Utils/SQL.php
index e855f20deafdc52569155d45a05301d448eed842..dba0c9ebe82c11716372070d138222e07af30a7a 100644
(file)
--- 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(
$version, 'mariadb') !== FALSE
) {
return FALSE;
}