Commit 12bc97e1 authored by jeroendedauw's avatar jeroendedauw

Fix incorrect reference to PDO in DB2Statement

parent 2f002700
......@@ -222,7 +222,7 @@ class DB2Statement implements \IteratorAggregate, Statement
return $result;
case \PDO::FETCH_NUM:
return db2_fetch_array($this->_stmt);
case PDO::FETCH_OBJ:
case \PDO::FETCH_OBJ:
return db2_fetch_object($this->_stmt);
default:
throw new DB2Exception("Given Fetch-Style " . $fetchMode . " is not supported.");
......
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