mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 08:04:45 +02:00
Update AllocationsRelationManager.php
Remove useless range order
This commit is contained in:
parent
189d564f87
commit
f3171939a4
@ -113,7 +113,7 @@ class AllocationsRelationManager extends RelationManager
|
||||
|
||||
$start = max((int) $start, 0);
|
||||
$end = min((int) $end, 2 ** 16 - 1);
|
||||
$range = $start <= $end ? range($start, $end) : range($end, $start);
|
||||
$range = range($start, $end);
|
||||
foreach ($range as $i) {
|
||||
$ports->push($i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user