From: Alan Knowles Date: Thu, 3 Nov 2011 05:52:06 +0000 (+0800) Subject: Pman.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=3903f776adbd6412f3c2def77c02a6140c10f453;p=Pman.Core Pman.js --- diff --git a/Pman.js b/Pman.js index f7ee0ccb..62dd2eee 100644 --- a/Pman.js +++ b/Pman.js @@ -812,7 +812,7 @@ Pman = new Roo.Document( Roo.log(permname + " is Disabled for this user"); return; } - if (appDisabled.indexOf(permname)) { + if (appDisabled.indexOf(permname) > 0) { Roo.log(permname + " is Disabled for this site"); return; }