CRM-16088 related notice fix
authormonishdeb <monish.deb@webaccessglobal.com>
Wed, 11 Mar 2015 07:10:26 +0000 (12:40 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 11 Mar 2015 07:10:26 +0000 (12:40 +0530)
----------------------------------------
* CRM-16088: Allow to override preprocess function in class which extends CRM_Event_Form_ManageEvent_Location
  https://issues.civicrm.org/jira/browse/CRM-16088

CRM/Contact/Form/Location.php

index da69885b15a29afb41151d40459e05464fa53a7d..af741364104428b30800e23809119ef35e2f5014 100644 (file)
@@ -63,7 +63,7 @@ class CRM_Contact_Form_Location {
     }
 
     $form->assign('blocks', $form->_blocks);
-    $form->assign('className', $className);
+    $form->assign('className', CRM_Utils_System::getClassName($form));
 
     // get address sequence.
     if (!$addressSequence = $form->get('addressSequence')) {