Fix PHP warnings and notices

This commit is contained in:
2023-02-18 08:34:32 +01:00
parent be9610cd98
commit a4ecd1bff7
4 changed files with 7 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ if(isset($_GET['subnet_id'])) {
$subnet_view = "WHERE node.subnet_id=" . $subnet_id;
$smarty->assign("subnet_id", $subnet_id);
} else {
$smarty->assign("subnet_id", "");
$smarty->assign("subnet_id", '');
$subnet_view = '';
}
$query = "SELECT