Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
catfan committed Nov 21, 2017
2 parents c5c7202 + 1bd65d7 commit d638b09
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Medoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,7 @@ protected function dataImplode($data, &$map, $conjunctor)
foreach ($value as $index => $item)
{
$placeholders[] = $map_key . $index;
$map[ $map_key . $index ] = [
$item,
$this->typeMap($item, gettype($item))
];
$map[ $map_key . $index ] = $this->typeMap($item, gettype($item));
}

$stack[] = $column . ' NOT IN (' . implode(', ', $placeholders) . ')';
Expand Down Expand Up @@ -687,10 +684,7 @@ protected function dataImplode($data, &$map, $conjunctor)
foreach ($value as $index => $item)
{
$placeholders[] = $map_key . $index;
$map[ $map_key . $index ] = [
$item,
$this->typeMap($item, gettype($item))
];
$map[ $map_key . $index ] = $this->typeMap($item, gettype($item));
}

$stack[] = $column . ' IN (' . implode(', ', $placeholders) . ')';
Expand Down

0 comments on commit d638b09

Please sign in to comment.