diff --git a/include/util/funcoesApl.php b/include/util/funcoesApl.php index cb1f3f21..ae8bda4a 100755 --- a/include/util/funcoesApl.php +++ b/include/util/funcoesApl.php @@ -423,12 +423,10 @@ function VerificaCadastroMenu($conn) { } //registro apgados com sucesso if ($result) { - if(!IsAdmin()){ - $permissions = existLicense($conn); - foreach ($menuUsuario as $key => $value) { - if (!in_array($value[0], $permissions) && ($value[0] != '112')) { - unset($menuUsuario[$key]); - } + $permissions = existLicense($conn); + foreach ($menuUsuario as $key => $value) { + if (!in_array($value[0], $permissions) && ($value[0] != '112')) { + unset($menuUsuario[$key]); } }