]> git.nbdom.net Git - nb.git/commitdiff
minor changes
authorNicolas Boisselier <nicolas.boisselier@semantico.com>
Mon, 12 Sep 2016 08:42:56 +0000 (09:42 +0100)
committerNicolas Boisselier <nicolas.boisselier@semantico.com>
Mon, 12 Sep 2016 08:42:56 +0000 (09:42 +0100)
lib/php/db.php

index 682d27ac5b1f1237a11c22214bcd8ba3b9642208..dafa4de479134f1b3552d2d7dd4481f8c81fed80 100644 (file)
@@ -201,7 +201,7 @@ class Db extends nb {
       foreach(['name','host','file'] as $p) {
         if (!empty($this->$p)) $msg .= " | $p:".$this->$p;
       }
-      throw new Exception($msg, (int)$e->getCode( ));
+      throw new Exception($msg, (int)$e->getCode());
       self::bye($msg);
 
     }