Skip to content

Commit

Permalink
[jan] Fix columnCount() result of PDO result objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 6, 2014
1 parent 5804cee commit fa4af44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/Db/lib/Horde/Db/Adapter/Pdo/Result.php
Expand Up @@ -49,6 +49,6 @@ protected function _fetchArray()
*/
protected function _columnCount()
{
return $this->_result->rowCount();
return $this->_result->columnCount();
}
}
4 changes: 2 additions & 2 deletions framework/Db/package.xml
Expand Up @@ -34,7 +34,7 @@
</stability>
<license uri="http://www.horde.org/licenses/bsd">BSD-2-Clause</license>
<notes>
*
* [jan] Fix columnCount() result of PDO result objects.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -769,7 +769,7 @@
<date>2014-03-03</date>
<license uri="http://www.horde.org/licenses/bsd">BSD-2-Clause</license>
<notes>
*
* [jan] Fix columnCount() result of PDO result objects.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit fa4af44

Please sign in to comment.