Correction appel vérification permission
This commit is contained in:
parent
515348ac47
commit
95d9ad60a1
@ -718,17 +718,17 @@ class Entreprise extends WsScore
|
||||
$perm = false;
|
||||
switch($niveau){
|
||||
case 1:
|
||||
if ( !$this->checkPerm('indiscore') || !checkPerm('indiscorep') ){
|
||||
if ( !$this->checkPerm('indiscore') || !$this->checkPerm('indiscorep') ){
|
||||
$this->permission('indiscore');
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (!$this->checkPerm('indiscore2') || !checkPerm('indiscore2p') ){
|
||||
if (!$this->checkPerm('indiscore2') || !$this->checkPerm('indiscore2p') ){
|
||||
$this->permission('indiscore2');
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
if (!$this->checkPerm('indiscore3') || !checkPerm('indiscore3p') ){
|
||||
if (!$this->checkPerm('indiscore3') || !$this->checkPerm('indiscore3p') ){
|
||||
$this->permission('indiscore3');
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user