summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Bridge.php2
-rw-r--r--test/BridgeTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Bridge.php b/src/Bridge.php
index 54f9880..9ec0626 100644
--- a/src/Bridge.php
+++ b/src/Bridge.php
@@ -66,7 +66,7 @@ class Bridge {
$result = $this->db->query($sql);
- $rows = $result->fetchAll(PDO::FETCH_COLUMN);
+ $rows = $result->fetchAll(PDO::FETCH_COLUMN, 0);
$result->closeCursor();
return $rows;
}
diff --git a/test/BridgeTest.php b/test/BridgeTest.php
index d31f37d..ec42543 100644
--- a/test/BridgeTest.php
+++ b/test/BridgeTest.php
@@ -175,7 +175,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase {
public function providerGetLists() {
return array(
array(null, null, 'Exception'),
- array('bogus', false, null),
+ array(1, false, null),
array(2, array('messages@forums.vassalengine.org'), null)
);
}