Browse Source

corrige le formulaire d'accès

master
vince vince 1 year ago
parent
commit
84318daec3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      index.php

+ 2
- 2
index.php View File

@ -2,7 +2,7 @@
define('DEFAULT_TITLE', 'Mon panier bio');
define('REQUEST_REGEX', '/^\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)?\/?$/');
define('REQUEST_REGEX', '/\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)?\/?$/');
define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/');
define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/');
define('ACTION_REGEX', '/^[a-z]{1,16}$/i');
@ -344,7 +344,7 @@ if (!$isConfig and $hasSupplier) {
</div>
</div>
<div class="col-12">
<form action="<?php echo generateUrl(); ?>" method="get">
<form action="<?php echo generateUrl(); ?>" method="post">
<datalist id="supplierList">
<?php foreach ($suppliers as $supplier) : ?>
<option value="<?php echo $supplier; ?>" />


Loading…
Cancel
Save