mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Update Helpers.php
This commit is contained in:
@@ -509,7 +509,7 @@ function getAllocations() {
|
||||
$list['Port'] = "<span class='net'>{$ct['NetworkMode']}</span><span class='ip'>$ip</span>".(implode(', ',array_unique($port)) ?: '???');
|
||||
$ports[] = $list;
|
||||
}
|
||||
return $ports;
|
||||
return $ports ?? [];
|
||||
}
|
||||
|
||||
function getCurlHandle($url, $method='GET') {
|
||||
|
||||
Reference in New Issue
Block a user