From 3e4315c15812d794355189094a18f7957e2ebfc0 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Sat, 15 Sep 2018 08:16:30 -0500 Subject: [PATCH] Don't output non-fatal errors from legacy web pages. (#9208) DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply `, i.e `./scripts/github-apply 5926` --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index b4682bf2a3..db24f52186 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -53,7 +53,7 @@ function set_debug($state = true, $silence = false) ini_set('log_errors', 1); error_reporting($silence ? 0 : E_ERROR); - \LibreNMS\Util\Laravel::enableCliDebugOutput(); + \LibreNMS\Util\Laravel::disableCliDebugOutput(); \LibreNMS\Util\Laravel::disableQueryDebug(); }