George S. Baugh 3 년 전
부모
커밋
32b490f02c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/TCMS.pm

+ 1 - 0
lib/TCMS.pm

@@ -148,6 +148,7 @@ sub app {
     }
 
     #Set various things we don't want overridden
+    $query->{acls} = [$query->{acls}] if (ref $query->{acls} ne 'ARRAY');
     $query->{acls} = Trog::Auth::acls4user($active_user) // [] if $active_user;
 
     $query->{user}         = $active_user;