Update ajaxHelper.php
This commit is contained in:
parent
da62493384
commit
b752640f81
|
@ -728,11 +728,11 @@ trait ajaxHelper {
|
||||||
}
|
}
|
||||||
if (isset($netValue['internal'])) {
|
if (isset($netValue['internal'])) {
|
||||||
$output[] = 'internal';
|
$output[] = 'internal';
|
||||||
continue;
|
continue 2;
|
||||||
}
|
}
|
||||||
if (empty($netValue['net'])) {
|
if (empty($netValue['net'])) {
|
||||||
// empty net so ignored
|
// empty net so ignored
|
||||||
continue;
|
continue 2;
|
||||||
}
|
}
|
||||||
$netValue['mask'] = (empty($netValue['mask'])) ? "255.255.255.0" : $netValue['mask'];
|
$netValue['mask'] = (empty($netValue['mask'])) ? "255.255.255.0" : $netValue['mask'];
|
||||||
$output[]= implode('/', $netValue);
|
$output[]= implode('/', $netValue);
|
||||||
|
|
Loading…
Reference in a new issue