Revision 3b8085fc
Added by Chris Buechler about 9 years ago
src/usr/local/www/interfaces_lagg_edit.php | ||
---|---|---|
163 | 163 |
if ($_POST) { |
164 | 164 |
unset($input_errors); |
165 | 165 |
$pconfig = $_POST; |
166 |
$pconfig['members'] = implode(',', $_POST['members']); |
|
166 |
|
|
167 |
if (is_array($_POST['members'])) { |
|
168 |
$pconfig['members'] = implode(',', $_POST['members']); |
|
169 |
} |
|
167 | 170 |
|
168 | 171 |
/* input validation */ |
169 | 172 |
$reqdfields = explode(" ", "members proto"); |
Also available in: Unified diff
Avoid implode error if no interfaces are selected.