mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Update ajax_listports.php
Now checks if _GET['debug'] isset to avoid php warnings in logs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if ($_GET['debug'])
|
||||
if (isset($_GET['debug']))
|
||||
{
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 0);
|
||||
|
||||
Reference in New Issue
Block a user