summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-07-10 17:46:44 +0000
committerDries Buytaert <dries@buytaert.net>2003-07-10 17:46:44 +0000
commit337b3c9de997f4fcb27467e3d80d0f43fda7783e (patch)
tree392e4a56fa1ac3d09e9cb78998f87ab438229926 /includes/module.inc
parent1c2fc43b51455e4895455798919e4c77e2b1bf21 (diff)
downloadbrdo-337b3c9de997f4fcb27467e3d80d0f43fda7783e.tar.gz
brdo-337b3c9de997f4fcb27467e3d80d0f43fda7783e.tar.bz2
- Committed a slightly modified version of Slavica's table prefix patch.
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 1732104a2..e80384343 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -50,7 +50,7 @@ function module_list($refresh = 0) {
if (!$list) {
$list = array("admin" => "admin", "system" => "system", "user" => "user", "watchdog" => "watchdog");
- $result = db_query("SELECT name, filename FROM system WHERE type = 'module' AND status = '1' ORDER BY name");
+ $result = db_query("SELECT name, filename FROM {system} WHERE type = 'module' AND status = '1' ORDER BY name");
while ($module = db_fetch_object($result)) {
if (file_exists($module->filename)) {
$list[$module->name] = $module->name;