Commit bc2e8824 authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent fd761b48
......@@ -289,11 +289,11 @@ function show_source_port_range() {
<td width="78%" class="vtable">
<select name="members[]" multiple="multiple" class="selectpicker" size="3" data-live-search="true">
<?php
// let's fix this for now in the template, although it should be fixed at the top of the page
// $pconfig['members'] can be of different type now.
if ( isset($pconfig['members']) && is_array($pconfig['members'])) {
$members_array = $pconfig['members'];
} elseif (!empty($pconfig['members'])) {
// let's fix this for now in the template, although it should be fixed at the top of the page
// $pconfig['members'] can be of different type now.
if ( isset($pconfig['members']) && is_array($pconfig['members'])) {
$members_array = $pconfig['members'];
} elseif (!empty($pconfig['members'])) {
$members_array = explode(',', $pconfig['members']);
} else {
$members_array = array();
......
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