Skip to content

Commit a258066

Browse files
committed
moved to array fix
1 parent c8fa1dd commit a258066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/validators/AuthValidator.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ component singleton threadsafe {
8888
}
8989

9090
// Check Perms
91-
if ( listLen( arguments.permissions ) ) {
91+
if ( arrayLen( arguments.permissions ) ) {
9292
for ( var thisPermission in arguments.permissions ) {
9393
if ( oUser.hasPermission( thisPermission ) ) {
9494
results.allow = true;

0 commit comments

Comments
 (0)