diff --git a/CRM/Contact/Form/Task.php b/CRM/Contact/Form/Task.php index 377c360b5411..2ccf1552eb88 100644 --- a/CRM/Contact/Form/Task.php +++ b/CRM/Contact/Form/Task.php @@ -100,7 +100,7 @@ public static function preProcessCommon(&$form) { $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) {