mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Error Reporting, strict check (#14293)
Strict check to reduce chances for accidental enabling.
This commit is contained in:
@ -92,7 +92,7 @@ class ErrorReportingProvider extends \Facade\Ignition\IgnitionServiceProvider
|
||||
$this->reportingEnabled = false; // don't cache before config is loaded
|
||||
|
||||
// check the user setting
|
||||
if (! Config::get('reporting.error')) {
|
||||
if (Config::get('reporting.error') !== true) {
|
||||
\Log::debug('Reporting disabled by user setting');
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user