Some more bugfixing

This commit is contained in:
2023-03-02 10:53:06 +01:00
parent 5e605692dd
commit 6e4c4236aa
14 changed files with 33 additions and 23 deletions

View File

@@ -9,7 +9,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
include("includes.php");
$asset_id = sanitize($_GET['asset_id']);
if (isset($_GET['asset_id']) && (!empty($_GET['asset_id']))) {
$asset_id = sanitize($_GET['asset_id']);
} else {
header_location("comments.php?comments=error");
}
include("header.php");