Skip to content

Commit

Permalink
Fixes dapphp#93
Browse files Browse the repository at this point in the history
  • Loading branch information
Maescool committed Mar 4, 2020
1 parent 5cd566b commit 8339b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StorageAdapter/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected function checkTablesExist()
if (!$result) {
$err = $this->pdo_conn->errorInfo();

if ($this->database_driver == self::SI_DRIVER_SQLITE3 &&
if ($this->database_driver == \Securimage::SI_DRIVER_SQLITE3 &&
$err[1] === 1 && strpos($err[2], 'no such table') !== false)
{
return false;
Expand Down

0 comments on commit 8339b48

Please sign in to comment.