Skip to content

Commit

Permalink
Fix for filter_exact query, was potentially replacing incorrect patte…
Browse files Browse the repository at this point in the history
…rn for table name.
  • Loading branch information
cheesegrits committed Apr 20, 2017
1 parent 937564f commit a7e21df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_fabrik/models/element.php
Expand Up @@ -4008,7 +4008,7 @@ protected function filterValueList_Exact($normal, $tableName = '', $label = '',
if ($aJoin->group_id == $element->group_id && $aJoin->element_id == 0)
{
$fromTable = $aJoin->table_join;
$elName = str_replace($origTable . '.', $fromTable . '.', $elName2);
$elName = preg_replace('/^' . $origTable . '\./', $fromTable . '.', $elName2);
}
}
}
Expand Down

0 comments on commit a7e21df

Please sign in to comment.