From: root Date: Tue, 24 Oct 2017 11:10:06 +0000 (+0100) Subject: lib/php/db/table.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ced0fdd165544da4fb08b6267b17c4370a5e7fc3;p=nb.git lib/php/db/table.php --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index af4b8093..a8fbeaa3 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -568,9 +568,10 @@ Class Table extends nb { if ((string)$v === '') continue; $flat[] = $k . '=' . urlencode($v); } - $form_action .= ( strpos('?',$form_action) === false ? '&' : '' ) . join('&',$flat); - #debug($form_action); - $form_hidden = ''; + if (NB_P_GET) { + $form_action .= ( strpos('?',$form_action) === false ? '' : '?' ) . join('&',$flat); + $form_hidden = ''; + } } // Form