Commit cca77d87 authored by Maik Gosenshuis's avatar Maik Gosenshuis

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 9ede434d
......@@ -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