Skip to content

Commit

Permalink
Replacing deprecated use of each()
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Oct 26, 2017
1 parent f0ebd6a commit 3591d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_fabrik/models/list.php
Expand Up @@ -3566,7 +3566,7 @@ private function groupFilterSQL(&$filters, $type = '*')
$valueKeys = array_keys(FArrayHelper::getValue($filters, 'key', array()));
$nullElementConditions = array('IS NULL', 'IS NOT NULL');

while (list($vkey, $i) = each($valueKeys))
foreach ($valueKeys as $vkey => $i)
{
// $$$rob - prefilter with element that is not published so ignore
$condition = JString::strtoupper(FArrayHelper::getValue($filters['condition'], $i, ''));
Expand Down

0 comments on commit 3591d59

Please sign in to comment.