Commit 81f62f21 authored by Dries's avatar Dries

- Patch #14334 by killes: fixed PHP warning.

parent bae399f4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment