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:
4dc7940
)
relationship edit fixes: form breaks if note is not entered during add
author
kurund
<kurund@civicrm.org>
Sun, 2 Mar 2014 20:06:19 +0000
(
01:36
+0530)
committer
kurund
<kurund@civicrm.org>
Sun, 2 Mar 2014 20:06:19 +0000
(
01:36
+0530)
CRM/Contact/Form/Relationship.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Relationship.php
b/CRM/Contact/Form/Relationship.php
index c27687a2287f38271bbe416e68c6e2fe4ab11a89..45b27742af02543f3fc99121c01035e75305ab95 100644
(file)
--- a/
CRM/Contact/Form/Relationship.php
+++ b/
CRM/Contact/Form/Relationship.php
@@
-261,8
+261,9
@@
class CRM_Contact_Form_Relationship extends CRM_Core_Form {
'entity_id' => $this->_relationshipId,
'entity_table' => 'civicrm_relationship',
'limit' => 1,
+ 'version' => 3
);
- $note = civicrm_api
3('n
ote' ,'getsingle', $noteParams);
+ $note = civicrm_api
('N
ote' ,'getsingle', $noteParams);
$defaults['note'] = CRM_Utils_Array::value('note', $note);
}
}