mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
Merge pull request #97 from libertysys/master
Test fix for a scrutinizer bug - Woot! https://scrutinizer-ci.com/g/librenms/librenms/inspections/ff397a4f-33fb-4913-b110-e6d2df824ac5 reports: "Good job, 1 issue was fixed."
This commit is contained in:
@@ -32,6 +32,7 @@ include("includes/authenticate.inc.php");
|
|||||||
|
|
||||||
if (!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
|
if (!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
|
||||||
|
|
||||||
|
$output = '';
|
||||||
if ($_GET['query'] && $_GET['cmd'])
|
if ($_GET['query'] && $_GET['cmd'])
|
||||||
{
|
{
|
||||||
$host = $_GET['query'];
|
$host = $_GET['query'];
|
||||||
|
|||||||
Reference in New Issue
Block a user