diff options
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/services_dhcp_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php index ba5d85e..d44fb9b 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -157,11 +157,11 @@ if ($_POST) { $mapent['hostname'] = $_POST['hostname']; $mapent['descr'] = $_POST['descr']; - staticmaps_sort($if); if (isset($id) && $a_maps[$id]) $a_maps[$id] = $mapent; else $a_maps[] = $mapent; + staticmaps_sort($if); write_config(); |