projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bae399f
)
- Patch #14334 by killes: fixed PHP warning.
author
Dries Buytaert
Tue, 14 Dec 2004 22:16:42 +0000 (22:16 +0000)
committer
Dries Buytaert
Tue, 14 Dec 2004 22:16:42 +0000 (22:16 +0000)
includes/module.inc
patch
|
blob
|
blame
|
history
diff --git
a/includes/module.inc
b/includes/module.inc
index
928bed9
..
9e9c59f
100644
(file)
--- 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;