- π¦πΊAustralia VladimirAus Brisbane, Australia
Not sure what is the point of this if
- foreach ($merge_vars as $key => $var) { - if ($field == $key) { - $name[] = $var; + if (!empty($merge_vars)) { + foreach ($merge_vars as $key => $var) { + if ($field == $key) { + $name[] = $var; + }
Loop won't go through on empty
$merge_vars
anyway.