Some more bugfixing
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user