mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
rrd - fix php notice 'Warning: Undefined array key "description" in /usr/local/etc/inc/rrd.inc on line 132'
This commit is contained in:
parent
d31bff3c39
commit
244cd1f040
@ -129,7 +129,7 @@ function rrd_configure($verbose = false, $bootup = false)
|
||||
if (isset($config['openvpn']['openvpn-server'])) {
|
||||
foreach ($config['openvpn']['openvpn-server'] as $server) {
|
||||
$serverid = "ovpns" . $server['vpnid'];
|
||||
$ifdescrs[$serverid] = "{$server['description']}";
|
||||
$ifdescrs[$serverid] = $server['description'] ?? "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user