Pman.js
authorAlan Knowles <alan@roojs.com>
Tue, 5 Jun 2012 03:23:34 +0000 (11:23 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 5 Jun 2012 03:23:34 +0000 (11:23 +0800)
Pman.js

diff --git a/Pman.js b/Pman.js
index 8a07304..aa546ba 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -818,8 +818,8 @@ Pman = new Roo.Document(
                 // we now have permission...
                 // obj.moduleOwner '.' lname
             Roo.log("CHECKING PERM: " + permname);
-            Roo.log("Exists: " + Pman.hasPermExists(permname) ? 1 : 0);
-            Roo.log("has: " + Pman.hasPerm(permname,'S') ? 1 : 0);
+            Roo.log("Exists: " + (Pman.hasPermExists(permname) ? 1 : 0));
+            Roo.log("has: " + (Pman.hasPerm(permname,'S') ? 1 : 0));
             if (Pman.hasPermExists(permname) && !Pman.hasPerm(permname,'S')) {
                 // it's a turned off permission...
                 Roo.log(permname + " is Disabled for this user");