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:
20a83b5
)
Update change to is_a function, i should read the docs
author
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 10 Mar 2015 20:01:41 +0000
(21:01 +0100)
committer
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 10 Mar 2015 20:01:41 +0000
(21:01 +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 16544e922f4bfd6ae9fa1d0ac31ccb3ca37bcd4b..da69885b15a29afb41151d40459e05464fa53a7d 100644
(file)
--- a/
CRM/Contact/Form/Location.php
+++ b/
CRM/Contact/Form/Location.php
@@
-53,9
+53,8
@@
class CRM_Contact_Form_Location {
$form->set($form->_addBlockName . '_Block_Count', $additionalblockCount);
}
- $className = CRM_Utils_System::getClassName($form);
- if (is_a($className, 'CRM_Event_Form_ManageEvent_Location')
- || is_a($className, 'CRM_Contact_Form_Domain')) {
+ if (is_a($form, 'CRM_Event_Form_ManageEvent_Location')
+ || is_a($form, 'CRM_Contact_Form_Domain')) {
$form->_blocks = array(
'Address' => ts('Address'),
'Email' => ts('Email'),