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 a82614e465ff2abc66715cf49b5f39d0a98fde6c..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
) !== FALSE) {
+ if (stripos(
$version, 'mariadb'
) !== FALSE) {
return FALSE;
}