From 4c730a6c578d31fcf61b20b37f08536f5ea3e271 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 2 Mar 2016 02:53:45 +0100 Subject: [PATCH] tables --- lib/php/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/db.php b/lib/php/db.php index 2f115650..8e5f3dfd 100644 --- a/lib/php/db.php +++ b/lib/php/db.php @@ -224,7 +224,7 @@ class db extends nb { $sql = "SHOW TABLES"; } else { - $this->bye('db.tables(): Unknow db type: '.$this->type); + if ($this->pdo) $this->bye('db.tables(): Unknow db type: '.$this->type); return array(); } -- 2.47.3