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:
ee17a76
)
CRM-16055 enotice fix on ajax
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Mon, 16 Mar 2015 11:16:01 +0000
(
00:16
+1300)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Mon, 16 Mar 2015 12:35:34 +0000
(
01:35
+1300)
CRM/Contact/Page/AJAX.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Page/AJAX.php
b/CRM/Contact/Page/AJAX.php
index 87013b43ea7a71c66c36159a03bcd492052a15b8..0d3364e1461f1fb5e1d079363103840916cfeeae 100644
(file)
--- a/
CRM/Contact/Page/AJAX.php
+++ b/
CRM/Contact/Page/AJAX.php
@@
-804,7
+804,8
@@
LIMIT {$offset}, {$rowCount}
public static function getContactRelationships() {
$contactID = CRM_Utils_Type::escape($_GET['cid'], 'Integer');
$context = CRM_Utils_Type::escape($_GET['context'], 'String');
public static function getContactRelationships() {
$contactID = CRM_Utils_Type::escape($_GET['cid'], 'Integer');
$context = CRM_Utils_Type::escape($_GET['context'], 'String');
- $relationship_type_id = CRM_Utils_Type::escape($_GET['relationship_type_id'], 'Integer', FALSE);
+ $relationship_type_id = CRM_Utils_Type::escape(CRM_Utils_Array::value('relationship_type_id', $_GET), 'Integer',
+ FALSE);
if (!CRM_Contact_BAO_Contact_Permission::allow($contactID)) {
return CRM_Utils_System::permissionDenied();
if (!CRM_Contact_BAO_Contact_Permission::allow($contactID)) {
return CRM_Utils_System::permissionDenied();