Skip to content

Commit 3c4bd4c

Browse files
authored
Merge pull request #26 from coldbox-modules/gpickin-patch-2
prevent arrayWrap from erring if items is a bool
2 parents b3b5e04 + 22ee96b commit 3c4bd4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/CBSecurity.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ component singleton accessors="true" {
416416
* @items One, a list or an array
417417
*/
418418
private function arrayWrap( required items ){
419-
return isArray( arguments.items ) ? items : items.listToArray();
419+
return isArray( arguments.items ) ? items : listToArray( items );
420420
}
421421

422422
}

0 commit comments

Comments
 (0)