Skip to content

Commit

Permalink
Fixing broken SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
tswestendorp committed Jan 20, 2015
1 parent abea5eb commit b57f5e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/dbeng/dbeng_abs.php
Expand Up @@ -119,10 +119,10 @@ function arrayValToIn($ar, $val, $forceType = null) {
$tmpList = '';

foreach($ar as $v) {
if (!isset($v[$val])) {
continue;
if (is_array($v)) {
$v = $v[$val];
}
$tmpList .= $this->safe($v[$val], $forceType) . ",";
$tmpList .= $this->safe($v, $forceType) . ",";
} # foreach
return substr($tmpList, 0, -1);
} # arrayValToIn
Expand Down

0 comments on commit b57f5e6

Please sign in to comment.