]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 4 Feb 2018 05:12:43 +0000 (05:12 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 4 Feb 2018 05:12:43 +0000 (05:12 +0000)
www/dbq/dbq.php

index b0c8d261dfe34b9055d217a593cd4e07772661d5..3178959776e7f66acbba1c8c068f744cc59be78e 100644 (file)
@@ -532,7 +532,7 @@ class DbQ extends nb {
                                if (empty($delete)) {
                                        $delete = ($this->db->type == 'sqlite' and !is_writeable($this->db->host));
                                }
-                               if (!delete) return;
+                               if (!$delete) return;
 # NB 03.02.18                          if ($this->db->type == 'sqlite' and !is_writeable($this->db->host)) return;
 
                                $rm = $this->uri_add_referer($this->table->base.'/rm');