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:
d5be5dc
)
CRM-13554
author
Donald A. Lobo
<lobo@civicrm.org>
Wed, 16 Oct 2013 19:35:06 +0000
(12:35 -0700)
committer
Donald A. Lobo
<lobo@civicrm.org>
Wed, 16 Oct 2013 19:35:06 +0000
(12:35 -0700)
----------------------------------------
* CRM-13554: Improve string validation in the query engine
http://issues.civicrm.org/jira/browse/CRM-13554
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index 381d4d2b8f8367facba8073f170e7819552a7c23..99942bff48bf7762001972f9d2f2fb9a837d622a 100644
(file)
--- a/
CRM/Contact/BAO/Query.php
+++ b/
CRM/Contact/BAO/Query.php
@@
-4001,7
+4001,7
@@
civicrm_relationship.start_date > {$today}
}
if ($row_count > 0 && $offset >= 0) {
$offset = CRM_Utils_Type::escape($offset, 'Int');
- $rowCount = CRM_Utils_Type::escape($row
C
ount, 'Int');
+ $rowCount = CRM_Utils_Type::escape($row
_c
ount, 'Int');
$sql .= " LIMIT $offset, $row_count ";
}