diff --git a/src/Controller/MaterielsController.php b/src/Controller/MaterielsController.php index 9b43a43..abb06f0 100755 --- a/src/Controller/MaterielsController.php +++ b/src/Controller/MaterielsController.php @@ -1418,7 +1418,7 @@ class MaterielsController extends AppController { //debug($materiels); exit; if ($this->confLabinvent->labNameShort) { $labshortname = $this->confLabinvent->labNameShort; - if ($labshortname != 'IRAP') + //if ($labshortname != 'IRAP') $materiels = $materiels->find('filteredForUserSite', ['user_site_id' => $current_user->site_id]); } //$materiels = $materiels->find('filteredForUserSite', ['user_site_id' => null]); -- libgit2 0.21.2