aboutsummaryrefslogtreecommitdiff
path: root/modules/index/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/index/index.php')
-rw-r--r--modules/index/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/index/index.php b/modules/index/index.php
index 54c8dbd..83b542c 100644
--- a/modules/index/index.php
+++ b/modules/index/index.php
@@ -10,7 +10,7 @@
define('INDEX_MODULE', true);
-$result = $db->Query("SELECT `dir_name` FROM `bayonet_modules` ORDER BY `weight` ASC");
+$result = $db->Query("SELECT `dir_name` FROM `bayonet_modules` WHERE `status` = 'Active' ORDER BY `weight` ASC");
$modules = $db->Fetch($result);
foreach($modules as $module)
{