Browse Source

Fix erreur droit accès document

stany.ferer 10 months ago
parent
commit
bfc615c4ff
1 changed files with 1 additions and 3 deletions
  1. 1 3
      core/views/pages/cms.document.php

+ 1 - 3
core/views/pages/cms.document.php

@@ -112,9 +112,7 @@ echo core::filAriane(array(
             ?>
             <div class="form-group" id="client-section"<?php if($_type_document != 1 AND $_type_document != 0){ echo 'style=" display: none;"'; } ?>>
                 <label>Lié à</label>
-                <select name="id_client" id="id_client" class="form-select" <?php if (!access::ifAccesss("add-client")) {
-                                                                    echo "disabled";
-                                                                } ?>>
+                <select name="id_client" id="id_client" class="form-select">
                     <option value=""></option>
                     <?php
                     foreach ($_all_clients as $client) {