]> git.nbdom.net Git - nb.git/commitdiff
tables
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 2 Mar 2016 01:53:45 +0000 (02:53 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 2 Mar 2016 01:53:45 +0000 (02:53 +0100)
lib/php/db.php

index 2f1156502d8824c17f13898c9a596c4afe07337c..8e5f3dfd691b158a4c8f4b2ff40b35e68f03133e 100644 (file)
@@ -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();
     }