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:
f5d5729
)
CRM-16952 wrap getContactID function
author
eileenmcnaugton
<eileen@fuzion.co.nz>
Mon, 3 Aug 2015 01:52:48 +0000
(13:52 +1200)
committer
eileenmcnaugton
<eileen@fuzion.co.nz>
Mon, 3 Aug 2015 01:52:48 +0000
(13:52 +1200)
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index 550f0da54b17eab30574ccd8bb34e088c2e0831f..f06c10f8fc9ef2968f45c2e79f02750537732382 100644
(file)
--- a/
CRM/Core/Form.php
+++ b/
CRM/Core/Form.php
@@
-1861,7
+1861,7
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
*
* @return NULL|int
*/
- p
ublic function g
etContactID() {
+ p
rotected function s
etContactID() {
$tempID = CRM_Utils_Request::retrieve('cid', 'Positive', $this);
if (isset($this->_params) && isset($this->_params['select_contact_id'])) {
$tempID = $this->_params['select_contact_id'];
@@
-1904,6
+1904,10
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
return is_numeric($userID) ? $userID : NULL;
}
+ public function getContactID() {
+ return $this->setContactID();
+ }
+
/**
* Get the contact id of the logged in user.
*/