summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 928bed9..9e9c59f 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -80,7 +80,7 @@ function module_list($refresh = FALSE, $bootstrap = FALSE) {
* Filename of module, if no $path has been specified.
*/
function module_set_filename($module, $path = null) {
- static $list;
+ static $list = array();
if ($path) {
$list[$module] = $path;