mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix some ErrorExceptions (#14241)
* Fix some ErrorExceptions * Use Config::get default value Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -74,7 +74,7 @@ if ($_GET['previous']) {
|
||||
|
||||
$rrd_options .= " COMMENT:'\\n'";
|
||||
|
||||
foreach ($rrd_list as $rrd) {
|
||||
foreach ($rrd_list ?? [] as $rrd) {
|
||||
if (! Config::get("graph_colours.$colours_in.$iter") || ! Config::get("graph_colours.$colours_out.$iter")) {
|
||||
$iter = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user