Index: trunk/kernel/units/modules/modules_tag_processor.php =================================================================== diff -u -N -r2060 -r4590 --- trunk/kernel/units/modules/modules_tag_processor.php (.../modules_tag_processor.php) (revision 2060) +++ trunk/kernel/units/modules/modules_tag_processor.php (.../modules_tag_processor.php) (revision 4590) @@ -4,10 +4,7 @@ function ModuleInstalled($params) { - $module = $this->SelectParam($params, 'name,module'); - $sql = 'SELECT Loaded FROM '.$this->Application->getUnitOption('mod', 'TableName').' - WHERE Name = "'.$module.'"'; - return $this->Conn->GetOne($sql) ? 1 : 0; + return $this->Application->isModuleEnabled($module); } }