Skip to content

Commit

Permalink
Corrigir permissão para página de medicamentos
Browse files Browse the repository at this point in the history
  • Loading branch information
ligiadf committed Sep 30, 2018
1 parent 367b01d commit 788227c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/medicamentosController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function index() {
$usuarios->verificarPermissoes($perfil);

// se tem permissão
if( strpos($_SESSION['uLogin']['permissoes'], 'M01') !== false ) {
if( strpos($_SESSION['uLogin']['permissoes'], 'R01') !== false ) {
$this->loadTemplate('medicamento-listar', $dados);
} else {
$dados403 = array (
Expand Down

0 comments on commit 788227c

Please sign in to comment.