From: Nicolas Boisselier Date: Thu, 7 Dec 2017 03:13:42 +0000 (+0000) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e4cefe7a8e6c37e2d01ab8455b62f3f0e3e27fb0;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 5a4cd3e0..21942614 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -355,6 +355,7 @@ class DbQ extends nb { ]) ] + $r; if ($this->perm < self::DELETE) return; + if ($this->db->type == 'sqlite' and !is_writeable($this->db->host)) return; $rm = $this->table->base.'/rm/'.$args; $r['delete'] = '' .'
'