Skip to content

Commit

Permalink
Fix for previous fix, trying to sort out 'unknow label' issues on
Browse files Browse the repository at this point in the history
details view for join element.
  • Loading branch information
cheesegrits committed Jul 7, 2015
1 parent a30f841 commit 6929bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fabrik_element/databasejoin/databasejoin.php
Expand Up @@ -1319,7 +1319,7 @@ public function render($data, $repeatCounter = 0)
$targetIds = $this->multiOptionTargetIds($data, $repeatCounter);

// $$$ hugh - no selection, and not new row, so Nothing To See Here, Move Along.
if (FArrayHelper::emptyIsh($targetIds, true) && $formModel->getRowId() != '')
if ($this->isJoin() && FArrayHelper::emptyIsh($targetIds, true) && $formModel->getRowId() != '')
{
return '';
}
Expand Down

0 comments on commit 6929bb1

Please sign in to comment.