From: Alan Knowles Date: Mon, 17 Dec 2012 03:22:32 +0000 (+0800) Subject: Pman.Tab.Admin.js X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=d3aa3aed371834ed38670b93974c60ccb4776312 Pman.Tab.Admin.js --- diff --git a/Pman.Tab.Admin.js b/Pman.Tab.Admin.js index 212016f..0f286c6 100644 --- a/Pman.Tab.Admin.js +++ b/Pman.Tab.Admin.js @@ -9,7 +9,7 @@ Pman.on('beforeload', function() { // only the system admin company can see this!! - if (Pman.Login.authUser.company_id_isOwner * 1 < 1) { + if (Pman.Login.authUser.company_id_comptype != 'OWNER') { return; } Pman.register({