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:
64e716d
)
CRM-13922 - Campaign - avoid undefined index error when releasing respondents
author
Jamie McClelland
<jm@mayfirst.org>
Fri, 6 Dec 2013 21:24:48 +0000
(16:24 -0500)
committer
Jamie McClelland
<jm@mayfirst.org>
Fri, 6 Dec 2013 21:24:48 +0000
(16:24 -0500)
----------------------------------------
* CRM-13922: release respondent search doesn't allow you to find contacts reserved to a different interviewer
http://issues.civicrm.org/jira/browse/CRM-13922
CRM/Campaign/BAO/Survey.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Campaign/BAO/Survey.php
b/CRM/Campaign/BAO/Survey.php
index 05f84988be0d4e6e6a2f19a835787bb6a3a5bf4b..4fca214d9d4f409ff51ce4525ddd2a151eb1914a 100644
(file)
--- a/
CRM/Campaign/BAO/Survey.php
+++ b/
CRM/Campaign/BAO/Survey.php
@@
-864,7
+864,7
@@
INNER JOIN civicrm_contact contact_a ON ( activityTarget.contact_id = contact_a
}
}
- return
$ufIds[$surveyId]
;
+ return
CRM_Utils_Array::value($surveyId, $ufIds)
;
}
public Static function getReportID($surveyId) {