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:
44432fa
)
Don't crash CiviCRM when missing contact ID
author
Matthew Wire
<devel@mrwire.co.uk>
Mon, 19 Feb 2018 10:03:05 +0000
(10:03 +0000)
committer
Matthew Wire
<devel@mrwire.co.uk>
Mon, 19 Feb 2018 10:03:05 +0000
(10:03 +0000)
CRM/Contact/Page/View.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Page/View.php
b/CRM/Contact/Page/View.php
index 5b5e6ad3977648e79340d0d5a56cf406edf2c402..884c18850a2c118e6eef01efdb38f45555f22abd 100644
(file)
--- a/
CRM/Contact/Page/View.php
+++ b/
CRM/Contact/Page/View.php
@@
-85,7
+85,7
@@
class CRM_Contact_Page_View extends CRM_Core_Page {
$gcid = CRM_Utils_Request::retrieve('gcid', 'Positive', $this);
if (!$gcid) {
- $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this
, TRUE
);
+ $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this);
}
else {
$this->_contactId = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_GroupContact', $gcid, 'contact_id');