reset() in where
parent
0e848aff3b
commit
d43256ad58
|
@ -353,7 +353,7 @@ class DatabaseMysql implements Database
|
|||
}
|
||||
else
|
||||
{
|
||||
if (is_array($v[0]))
|
||||
if (is_array(reset($v)))
|
||||
foreach ($v as &$l)
|
||||
$l = "(" . implode(",", array_map(array($this, 'quote'), $l)) . ")";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue