Commit f4d07977 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
parent eff314db
...@@ -1597,7 +1597,7 @@ class Connection implements DriverConnection ...@@ -1597,7 +1597,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