Commit 03a76929 authored by Bill Schaller's avatar Bill Schaller

Merge pull request #878 from Virakal/master

Fix call on non-object in ping() with PDO wrapper
parents a5256f6d 58956315
...@@ -1590,7 +1590,7 @@ class Connection implements DriverConnection ...@@ -1590,7 +1590,7 @@ class Connection implements DriverConnection
} }
try { try {
$this->query($this->platform->getDummySelectSQL()); $this->query($this->getDatabasePlatform()->getDummySelectSQL());
return true; return true;
} catch (DBALException $e) { } catch (DBALException $e) {
......
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