mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
22 lines
332 B
PHP
22 lines
332 B
PHP
<?
|
|
if (!check_perms('admin_reports')) {
|
|
die('403');
|
|
}
|
|
|
|
if (!is_number($_GET['id'])) {
|
|
die();
|
|
}
|
|
|
|
$DB->query("
|
|
SELECT Status
|
|
FROM reportsv2
|
|
WHERE ID = ".$_GET['id']);
|
|
list($Status) = $DB->next_record();
|
|
if (isset($Status)) {
|
|
$DB->query("
|
|
UPDATE reportsv2
|
|
SET Status = 'New', ResolverID = 0
|
|
WHERE ID = ".$_GET['id']);
|
|
}
|
|
?>
|