Skip to content

Commit

Permalink
Merge pull request #12349 from jitendrapurohit/profilefix
Browse files Browse the repository at this point in the history
Fix profile load on update multiple action
  • Loading branch information
seamuslee001 authored Jun 21, 2018
2 parents f0fa060 + ce5feb8 commit 09e6644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Form/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 09e6644

Please sign in to comment.