Commit 82318ed522b5efcb2fb9d44375143b99ae3dfa18
1 parent
b27cc31f
Exists in
master
Correção na listagem de temas restritos para permitir que o usuário master tenha…
… acesso a esses temas
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
admin/php/login.php
... | ... | @@ -277,9 +277,11 @@ function autenticaUsuario($usuario,$senha){ |
277 | 277 | //echo "select * from ".$esquemaadmin."i3geousr_usuarios where login = '$usuario' and (senha = '$senhamd5' or senha = '$senha') and ativo = 1";exit; |
278 | 278 | //exit; |
279 | 279 | if(verificaMaster($usuario,$senha) == true){ |
280 | + | |
280 | 281 | $pa = pegaDados("select * from ".$esquemaadmin."i3geousr_papelusuario ",$locaplic); |
281 | 282 | $op = pegadados("SELECT O.codigo FROM ".$esquemaadmin."i3geousr_operacoes AS O"); |
282 | - $gr = pegadados("SELECT * from ".$esquemaadmin."i3geousr_grupousuario "); | |
283 | + $gr = pegadados("SELECT * from ".$esquemaadmin."i3geousr_grupos "); | |
284 | + //var_dump($gr);exit; | |
283 | 285 | $operacoes = array(); |
284 | 286 | foreach($op as $o){ |
285 | 287 | $operacoes[$o["codigo"]] = true; | ... | ... |