]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 7 Feb 2017 15:09:06 +0000 (15:09 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 7 Feb 2017 15:09:06 +0000 (15:09 +0000)
www/dbq/dbq.php

index 1de122234399211f3c2812350665834cfd5fe174..8f5f6d9e990dd0603096f565783e71f02ca40eff 100644 (file)
@@ -251,11 +251,11 @@ class DbQ extends nb {
   }
 
   public function table_rw() {
-    return 1
+    return (1
       and ($this->perm >= self::VIEW)
       and !empty($this->table)
         and ( strpos('table view',$this->table->type()) !== false )
-      ;
+    );
   }
   public function table_rows($fct=null) {
     $this->db->limit = $this->limit();