mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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