Skip to content

Commit

Permalink
Fixed issue #7652: User groups permissions shows Access denied
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 11, 2013
1 parent 9b5f845 commit 9ca37cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/surveypermission.php
Expand Up @@ -566,7 +566,7 @@ function surveyright($surveyid)
{
$this->getController()->error('Access denied');
}
elseif( $postusergroupid && !in_array($postusergroupid,getUserList('onlyuidarray')))
elseif( $postusergroupid && !in_array($postusergroupid,getUserGroupList(null, 'simplegidarray')))
{
$this->getController()->error('Access denied');
}
Expand Down

0 comments on commit 9ca37cc

Please sign in to comment.