Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
small fix. had test case for get_current_user_access_level() incorrect
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@814 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Mar 26, 2002
1 parent 8ec1b8d commit 88ad07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_user_API.php
Expand Up @@ -670,7 +670,7 @@ function get_current_user_access_level() {
return $t_access_level;
}

if ( $t_access_level2 > -1 ) {
if ( -1 == $t_access_level2 ) {
return $t_access_level;
} else {
return $t_access_level2;
Expand Down

0 comments on commit 88ad07a

Please sign in to comment.