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:
a96973f
)
notice fixes
author
Kurund Jalmi
<kurund@civicrm.org>
Tue, 7 May 2013 05:55:07 +0000
(22:55 -0700)
committer
Kurund Jalmi
<kurund@civicrm.org>
Tue, 7 May 2013 05:55:07 +0000
(22:55 -0700)
CRM/Contribute/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/BAO/Query.php
b/CRM/Contribute/BAO/Query.php
index 2bcda8181cac0cf5a3daecf0b38c9c724fbfa6ee..e965c59b2fb7e5cf22648f90eca4eec92f99ddec 100644
(file)
--- a/
CRM/Contribute/BAO/Query.php
+++ b/
CRM/Contribute/BAO/Query.php
@@
-244,9
+244,9
@@
class CRM_Contribute_BAO_Query {
static function whereClauseSingle(&$values, &$query) {
list($name, $op, $value, $grouping, $wildcard) = $values;
- $fields = array();
$fields = self::getFields();
- if (!empty($value)) {
+
+ if (!empty($value) && !is_array($value)) {
$quoteValue = "\"$value\"";
}