]> git.nbdom.net Git - nb.git/commitdiff
lib/php/db/table.php
authorroot <nicolas.boisselier@15gifts.com>
Tue, 24 Oct 2017 11:10:06 +0000 (12:10 +0100)
committerroot <nicolas.boisselier@15gifts.com>
Tue, 24 Oct 2017 11:10:06 +0000 (12:10 +0100)
lib/php/db/table.php

index af4b80934d6218e507f8055b39319f6ca31baefb..a8fbeaa308424ccf7174687b21a3ac7b5ad50529 100644 (file)
@@ -568,9 +568,10 @@ Class Table extends nb {
         if ((string)$v === '') continue;
         $flat[] = $k . '=' . urlencode($v);
       }
-      $form_action .= ( strpos('?',$form_action) === false ? '&amp;' : '' ) . join('&amp;',$flat); 
-      #debug($form_action);
-      $form_hidden = '';
+      if (NB_P_GET) {
+        $form_action .= ( strpos('?',$form_action) === false ? '' : '?' ) . join('&amp;',$flat); 
+        $form_hidden = '';
+      }
     }
 
     // Form