diff --git a/Koha/REST/V1/Auth.pm b/Koha/REST/V1/Auth.pm index 481b081010..a4bb7ae233 100644 --- a/Koha/REST/V1/Auth.pm +++ b/Koha/REST/V1/Auth.pm @@ -69,9 +69,7 @@ sub under { if ( $namespace eq 'public' ) { $is_public = 1; - } - - if ( $namespace eq 'contrib' ) { + } elsif ( $namespace eq 'contrib' ) { $is_plugin = 1; }