From: Nicolas Boisselier Date: Wed, 20 Nov 2024 20:29:54 +0000 (+0100) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=8d4aa70e90eb5e13a26265c2ed9b142a1a8f2073;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 0c1966b6..5fe01754 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -1142,10 +1142,10 @@ EOF; } public function run_root() { + $action = $this->params['db']; if (!$action and self::PARAM_DB_DEFAULT) $action = self::PARAM_DB_DEFAULT; - #$this->params = [ 'action' => $action ]; - #bye($this->params); + $arg = join('/',[$this->params['table'],$this->params['action'],$this->params['args']]); $arg = []; foreach (['table','action','args'] as $k) { if (!empty($this->params[$k])) $arg[] = $this->params[$k]; }