Commit 62abc0b1 authored by Maik Gosenshuis's avatar Maik Gosenshuis Committed by Benjamin Eberlei

Removed is_int check and converted both comparisons into equality comparisons...

Removed is_int check and converted both comparisons into equality comparisons when expanding list parameters.
parent 4350e5b8
......@@ -90,7 +90,7 @@ class SQLParserUtils
$bindIndex = -1;
foreach ($types AS $name => $type) {
++$bindIndex;
if (is_int($type) && ($type === Connection::PARAM_INT_ARRAY || $type == Connection::PARAM_STR_ARRAY)) {
if ($type === Connection::PARAM_INT_ARRAY || $type === Connection::PARAM_STR_ARRAY) {
if ($isPositional) {
$name = $bindIndex;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment