aboutsummaryrefslogtreecommitdiff
path: root/modules/index
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2011-04-17 20:13:07 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2011-04-17 20:13:07 -0400
commit0077cb99704fe863cf731fc5cab792af2ede96c2 (patch)
treedd68f44971aa2aee821f588d33b250dcd2fe57e3 /modules/index
parente8b28c5e910d92cbec3d4baa6e98f025e8418d28 (diff)
downloadbayonetcms-0077cb99704fe863cf731fc5cab792af2ede96c2.tar.gz
Backporting retarded amount of changes outside of version control
Diffstat (limited to 'modules/index')
-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)
{