Fix profile load on update multiple action
authorJitendra Purohit <jitendra@fuzion.co.nz>
Thu, 21 Jun 2018 06:29:59 +0000 (11:59 +0530)
committerJitendra Purohit <jitendra@fuzion.co.nz>
Thu, 21 Jun 2018 06:29:59 +0000 (11:59 +0530)
CRM/Contact/Form/Task.php

index 377c360b54111bbe9e2b36b9cacb4f6b6b992b55..2ccf1552eb88921d07971527f12bddb6bb9c2792 100644 (file)
@@ -100,7 +100,7 @@ class CRM_Contact_Form_Task extends CRM_Core_Form_Task {
     $form->_contactTypes = array();
 
     $formName = CRM_Utils_System::getClassName($form->controller->getStateMachine());
-    $useTable = ($formName !== 'CRM_Export_StateMachine_Standalone') ? TRUE : FALSE;
+    $useTable = $formName == 'CRM_Export_StateMachine_Standalone';
 
     $isStandAlone = in_array('task', $form->urlPath) || in_array('standalone', $form->urlPath);
     if ($isStandAlone) {