Fix bugs in location code
This commit is contained in:
@@ -17,7 +17,7 @@ $sql = "SELECT location_id AS id, location_name AS name
|
||||
FROM location
|
||||
WHERE location_id=?";
|
||||
$sth = $dbh->prepare($sql);
|
||||
$sth->execute([$zone_id]);
|
||||
$sth->execute([$location_id]);
|
||||
$smarty->assign("location", $sth->fetch(PDO::FETCH_OBJ));
|
||||
|
||||
$smarty->display("locationsubnetedit.tpl");
|
||||
|
||||
Reference in New Issue
Block a user