#88030 by beginner. Properly initialize a variable.
parent
1b201a3e0d
commit
a6f6ddcc4a
|
@ -197,6 +197,9 @@ function _module_parse_info_file($filename) {
|
|||
if (isset($info['dependencies'])) {
|
||||
$info['dependencies'] = explode(" ", $info['dependencies']);
|
||||
}
|
||||
else {
|
||||
$info['dependencies'] = NULL;
|
||||
}
|
||||
return $info;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue