Fix bugs in location code

This commit is contained in:
2023-02-24 13:39:05 +01:00
parent 0696a16030
commit 02b3cfd23f
4 changed files with 26 additions and 25 deletions

View File

@@ -20,7 +20,7 @@ $sth = $dbh->prepare($sql);
$sth->execute([$location_id]);
$smarty->assign("location", $sth->fetch(PDO::FETCH_OBJ));
$smarty->assign("subnet_options", $db->options_subnet());
$smarty->assign("subnet_options", db_get_options_subnet());
$smarty->display("locationsubnetadd.tpl");