mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit 1752d1efd4.
This commit is contained in:
@@ -74,7 +74,7 @@ function parse_modules($type, $options)
|
||||
{
|
||||
$override = false;
|
||||
|
||||
if (! empty($options['m'])) {
|
||||
if ($options['m']) {
|
||||
Config::set("{$type}_modules", []);
|
||||
foreach (explode(',', $options['m']) as $module) {
|
||||
// parse submodules (only supported by some modules)
|
||||
|
||||
Reference in New Issue
Block a user