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:
a2d6c33
)
CRM-16580 avoid matching cid to user id if null
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Fri, 29 May 2015 02:06:55 +0000
(14:06 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Fri, 29 May 2015 02:54:59 +0000
(14:54 +1200)
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index 6441a57502e352f6997b110417323140cd101e66..51d47be869d82abb7b23a4714902fb2888450601 100644
(file)
--- a/
CRM/Core/Form.php
+++ b/
CRM/Core/Form.php
@@
-1603,7
+1603,7
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
$userID = $this->getLoggedInUserContactID();
- if (
$tempID
== $userID) {
+ if (
!is_null($tempID) && $tempID =
== $userID) {
return (int) $userID;
}