X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=frontaccounting.php;h=ffd9c7f56f27ccb6cbcbeb07a6bce3867c5f55f9;hb=4098636a10a25952a38e1b0c8f6e80dff44ae4e7;hp=7e2201882a74b9f954ca64cfa97c8f69c5df83c4;hpb=f77944f5e2122d5b6e57d5e2718b4760519ec5d2;p=fa-stable.git diff --git a/frontaccounting.php b/frontaccounting.php index 7e220188..ffd9c7f5 100644 --- a/frontaccounting.php +++ b/frontaccounting.php @@ -44,8 +44,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ //$this->renderer =& new renderer(); } function add_application(&$app) - { - $this->applications[$app->id] = &$app; + { + if ($app->enabled) // skip inactive modules + $this->applications[$app->id] = &$app; } function get_application($id) {