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:
544aa9c
)
CRM-16088 Allow subclassing of 'CRM_Event_Form_ManageEvent_Location' and 'CRM_Contact...
author
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 10 Mar 2015 19:38:19 +0000
(20:38 +0100)
committer
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 10 Mar 2015 19:38:19 +0000
(20:38 +0100)
CRM/Contact/Form/Location.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Location.php
b/CRM/Contact/Form/Location.php
index 35a9baa2350d5e897e9e3ea421fa1373f4d94df0..2c539a21ebf9e14c17408fbae1fbde6e351a272d 100644
(file)
--- a/
CRM/Contact/Form/Location.php
+++ b/
CRM/Contact/Form/Location.php
@@
-57,7
+57,9
@@
class CRM_Contact_Form_Location {
if (in_array($className, array(
'CRM_Event_Form_ManageEvent_Location',
'CRM_Contact_Form_Domain',
- ))) {
+ ))
+ || is_subclass_of($className, 'CRM_Event_Form_ManageEvent_Location')
+ || is_subclass_of($className, 'CRM_Contact_Form_Domain')) {
$form->_blocks = array(
'Address' => ts('Address'),
'Email' => ts('Email'),