Commit ff45041c authored by Franco Fichtner's avatar Franco Fichtner

interfaces: fix a crash report

(cherry picked from commit c00e8eb0)
parent 2fdec3c0
......@@ -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