Commit c00e8eb0 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: fix a crash report

parent c68ca487
......@@ -75,6 +75,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
if (empty($pconfig['members'])) {
$input_errors[] = gettext("At least one group member must be specified.");
$pconfig['members'] = array();
}
if (count($input_errors) == 0) {
$ifgroupentry = array();
$ifgroupentry['members'] = implode(' ', $pconfig['members']);
......
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