Fix incorrect condition checking for privileges.

pull/3/head
Murtuza Zabuawala 2016-06-07 12:37:02 +01:00 committed by Dave Page
parent 4380c6714e
commit 20a22731e0
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@
var privileges = [];
if (this.attributes &&
this.attributes['privileges']) {
!this.attributes['privileges']) {
return null;
}