Commit f8ee6f63 authored by Franco Fichtner's avatar Franco Fichtner

services: fix lb pool edit crash report

(cherry picked from commit d0f6c169)
parent 1d8bf616
...@@ -334,10 +334,12 @@ include("head.inc"); ...@@ -334,10 +334,12 @@ include("head.inc");
<td> <td>
<select id="serversdisabled" name="serversdisabled[]" multiple="multiple"> <select id="serversdisabled" name="serversdisabled[]" multiple="multiple">
<?php <?php
if (is_array($pconfig['serversdisabled'])):
foreach ($pconfig['serversdisabled'] as $svrent):?> foreach ($pconfig['serversdisabled'] as $svrent):?>
<option value="<?=$svrent;?>"><?=$svrent;?> </option> <option value="<?=$svrent;?>"><?=$svrent;?> </option>
<?php <?php
endforeach;?> endforeach;
endif; ?>
</select> </select>
<hr/> <hr/>
<button id="btn_del_serversdisabled" class="btn btn-default btn-xs" data-toggle="tooltip"><span class="fa fa-trash text-muted"></span></button> <button id="btn_del_serversdisabled" class="btn btn-default btn-xs" data-toggle="tooltip"><span class="fa fa-trash text-muted"></span></button>
......
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