From 0077cb99704fe863cf731fc5cab792af2ede96c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 17 Apr 2011 20:13:07 -0400 Subject: Backporting retarded amount of changes outside of version control --- modules/index/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/index/index.php') 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) { -- cgit