Skip to content

Commit

Permalink
Dev: fix hasSurveyPermission
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jan 8, 2021
1 parent 9da6140 commit 946591f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Permission.php
Expand Up @@ -653,7 +653,7 @@ public function hasSurveyPermission($iSurveyID, $sPermission, $sCRUD = 'read', $
if (!$oSurvey) {
return false;
}
return $oSurvey->hasPermission($iSurveyID, $sPermission, $sCRUD , $iUserID);
return $oSurvey->hasPermission($sPermission, $sCRUD , $iUserID);
}

/**
Expand Down

0 comments on commit 946591f

Please sign in to comment.