From: Tim Mallezie Date: Tue, 10 Mar 2015 20:01:41 +0000 (+0100) Subject: Update change to is_a function, i should read the docs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1f7c9105dc23e03e8b543b01e6248936c5148c46;p=civicrm-core.git Update change to is_a function, i should read the docs --- diff --git a/CRM/Contact/Form/Location.php b/CRM/Contact/Form/Location.php index 16544e922f..da69885b15 100644 --- 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'),