mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* WIP * Fixes and cleanups * Move parseAtTime to Time util class * lint fixes, explicitly define variables * Style fixes
8 lines
361 B
PHP
8 lines
361 B
PHP
<?php
|
|
|
|
// populate legacy global variables
|
|
$graph_params->scale_max = isset($scale_max) ? (int) $scale_max : $graph_params->scale_max;
|
|
$graph_params->scale_min = isset($scale_min) ? (int) $scale_min : $graph_params->scale_min;
|
|
$graph_params->scale_rigid = $scale_rigid ?? $graph_params->scale_rigid;
|
|
$graph_params->title = $graph_title ?? $graph_params->title;
|