summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-21 14:55:03 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-21 14:55:03 +0000
commita956de78b9681f55cfc81785306031aa6e3ac9c1 (patch)
treefeae400f1ae2191fb3253f527be4cc2d01728a62 /includes
parent716e833a6e103585d1d1478b6a4ee47a1e8bbbef (diff)
downloadbrdo-a956de78b9681f55cfc81785306031aa6e3ac9c1.tar.gz
brdo-a956de78b9681f55cfc81785306031aa6e3ac9c1.tar.bz2
- Fixed some PHP "notices".
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index a8214e49c..d126944a9 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -66,7 +66,7 @@ function module_list($refresh = 0) {
// return 1 if module $name exists, 0 otherwise:
function module_exist($name) {
$list = module_list();
- return ($list[$name]) ? 1 : 0;
+ return isset($list[$name]) ? 1 : 0;
}
// return 1 if module $name implements hook $hook, 0 otherwise: