Update Helpers.php

This commit is contained in:
Squidly271
2023-03-04 13:29:00 -05:00
committed by GitHub
parent c693196c2e
commit 2264954040

View File

@@ -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') {