projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4ed6fb
)
CRM-16922 broken smart groups from participant_status_id
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 28 Jul 2015 04:23:16 +0000
(16:23 +1200)
committer
monishdeb
<monish.deb@webaccessglobal.com>
Tue, 28 Jul 2015 07:34:20 +0000
(13:04 +0530)
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index 8a055eabc66f01b57787939dabce02b230da1e60..8a8663d50a987ab9d68ae099d8b5b4f7cae31e22 100644
(file)
--- a/
CRM/Contact/BAO/Query.php
+++ b/
CRM/Contact/BAO/Query.php
@@
-5198,7
+5198,14
@@
SELECT COUNT( conts.total_amount ) as cancel_count,
return $queryString;
}
}
+ else {
+ $dragonPlace = $iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReportUsingOldFormat;
+ if (($queryString = CRM_Core_DAO::createSqlFilter($field, array($op => array_keys($value)), $dataType)) != FALSE) {
+ return $queryString;
+ }
+ }
}
+
$value = CRM_Utils_Type::escape($value, $dataType);
// if we don't have a dataType we should assume
if ($dataType == 'String' || $dataType == 'Text') {