mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
The PHP implode function has deprecated the glue after pieces method of calling the function as from PHP 7.4 Fixing this to ensure librenms works in PHP 7.4
10 lines
493 B
PHP
10 lines
493 B
PHP
<div class="dashboard-graph">
|
|
<a href="graphs/{{ implode('/', $params) }}/type={{ $graph_type }}/from={{ $from }}/to={{ $to }}">
|
|
<img class="minigraph-image"
|
|
width="{{ $dimensions['x'] }}"
|
|
height="{{ $dimensions['y'] }}"
|
|
src="graph.php?{{ implode('&', $params) }}&from={{ $from }}&to={{ $to }}&width={{ $dimensions['x'] }}&height={{ $dimensions['y'] }}&type={{ $graph_type }}&legend={{ $graph_legend }}&absolute=1"
|
|
/>
|
|
</a>
|
|
</div>
|