Skip to content

Commit

Permalink
Update ajaxHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenLAD committed Jan 27, 2022
1 parent da62493 commit b752640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sccpManTraits/ajaxHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,11 +728,11 @@ function saveSccpDevice($get_settings, $validateonly = false) {
}
if (isset($netValue['internal'])) {
$output[] = 'internal';
continue;
continue 2;
}
if (empty($netValue['net'])) {
// empty net so ignored
continue;
continue 2;
}
$netValue['mask'] = (empty($netValue['mask'])) ? "255.255.255.0" : $netValue['mask'];
$output[]= implode('/', $netValue);
Expand Down

0 comments on commit b752640

Please sign in to comment.