Skip to content

Commit

Permalink
Merge pull request #230 from zonky2/hotfix_add_closure_load_callback
Browse files Browse the repository at this point in the history
Hotfix add closure load_callback
  • Loading branch information
davidmaack authored Nov 15, 2017
2 parents 50ecceb + b0ee64f commit adb44c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/modules/multicolumnwizard/MultiColumnWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,10 @@ protected function initializeWidget(&$arrField, $intRow, $strKey, $varValue)
$varValue = $this->{$callback[0]}->{$callback[1]}($varValue, $this);
}
}
elseif (is_callable($arrField['load_callback']))
{
$varValue = $arrField['load_callback']($varValue, $this);
}

// Convert date formats into timestamps (check the eval setting first -> #3063)
$rgxp = $arrField['eval']['rgxp'];
Expand Down

0 comments on commit adb44c8

Please sign in to comment.