Skip to content

Commit

Permalink
Changed from parseMessageForRowholder() to parseMessageForPlaceHolder…
Browse files Browse the repository at this point in the history
…() in calc list render. I think the former is deprecated, see comment on the function. Used to be needed years ago, to acocunt for differences in data format between list and form display.
  • Loading branch information
cheesegrits committed Jun 8, 2016
1 parent 19aacc9 commit 2dbf277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/fabrik_element/calc/calc.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ public function preFormatFormJoins($data, $row)
// $$$ Paul - Because this is run on List rows before repeat-group merges, repeat group placeholders are OK.
// $$$ hugh - standardizing on $data but need need $d here for backward compat
$d = $data;
$cal = $listModel->parseMessageForRowHolder($cal, $data, true);
$w = new FabrikWorker;
$cal = $w->parseMessageForPlaceHolder($cal, $data, true, true);

if (FabrikHelperHTML::isDebug())
{
Expand Down

0 comments on commit 2dbf277

Please sign in to comment.