mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Update AllocationsRelationManager.php
Remove useless range order
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user