From: Nicolas Boisselier Date: Mon, 30 Jan 2017 22:49:43 +0000 (+0000) Subject: fix bug when edit X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ce9a9de15084a744cf4f44635c22fa762f4d0c01;p=nb.git fix bug when edit --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 7e355d8b..1de12223 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -247,7 +247,7 @@ class DbQ extends nb { $values = $add ? array_fill(0,count($keys),'') : explode($this->param_args_sep,$this->params['args']); - $this->table->html_edit(array_combine($keys,$values),$this->table->base.'/'.($add ? 'insert' : 'update').'/'.$this->params['args'],$add); + $this->table->html_edit(array_combine($keys,$values),$this->table->base.'/'.($add ? 'insert' : 'update').'/'.$this->params['args'].'/',$add); } public function table_rw() {