mirror of https://github.com/MISP/MISP
chg: [internal] Micro optimisation
parent
cf8a642ba7
commit
f3d0fcebbb
|
@ -161,8 +161,7 @@ class MysqlExtended extends Mysql
|
|||
if ($this->fullDebug) {
|
||||
$valuesList[] = $val;
|
||||
}
|
||||
$statement->bindValue($i, $val, $columnMap[$col]);
|
||||
$i++;
|
||||
$statement->bindValue($i++, $val, $columnMap[$col]);
|
||||
}
|
||||
}
|
||||
$result = $statement->execute();
|
||||
|
|
Loading…
Reference in New Issue