Commit 75d5fab7 authored by Martin Hasoň's avatar Martin Hasoň

fixed conditional expression

parent fc3ead25
......@@ -37,7 +37,7 @@ class PDOStatement extends \PDOStatement implements Statement
// of PDOStatement::setFetchMode(): even if the second and third
// parameters are optional, PHP will not let us remove it from this
// declaration.
if ($arg2 === null || $arg3 === null) {
if ($arg2 === null && $arg3 === null) {
return parent::setFetchMode($fetchStyle);
}
......
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