Index: branches/5.0.x/core/units/modules/modules_tag_processor.php =================================================================== diff -u -r12299 -r12365 --- branches/5.0.x/core/units/modules/modules_tag_processor.php (.../modules_tag_processor.php) (revision 12299) +++ branches/5.0.x/core/units/modules/modules_tag_processor.php (.../modules_tag_processor.php) (revision 12365) @@ -1,6 +1,6 @@ Application->isModuleEnabled($params['name']); } + function _hasPrivileges() + { + return $this->Application->RecallVar('user_id') == -1; + } + function AlreadyInstalled($params) { + if (!$this->_hasPrivileges()) { + // don't show licenses status for non-privileged users + return true; + } + $object =& $this->getObject($params); /* @var $object kDBList */ @@ -34,6 +44,11 @@ function ModuleLicensed($params) { + if (!$this->_hasPrivileges()) { + // don't show licenses status for non-privileged users + return true; + } + $object =& $this->getObject($params); /* @var $object kDBList */