From: Nicolas Boisselier Date: Wed, 2 Mar 2016 01:53:45 +0000 (+0100) Subject: tables X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=4c730a6c578d31fcf61b20b37f08536f5ea3e271;p=nb.git tables --- 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(); }