Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix incorrect reference to PDO in DB2Statement #585

Merged
merged 1 commit into from

3 participants

@JeroenDeDauw

No description provided.

@doctrinebot
Collaborator

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-884

We use Jira to track the state of pull requests and the versions they got
included in.

@guilhermeblanco guilhermeblanco merged commit e9098e2 into doctrine:master
@JeroenDeDauw JeroenDeDauw deleted the JeroenDeDauw:DB2Statement branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 29, 2014
  1. @JeroenDeDauw
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
View
2  lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
@@ -222,7 +222,7 @@ public function fetch($fetchMode = null)
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.");
Something went wrong with that request. Please try again.