mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-12 23:14:55 +01:00
This is now an array
This commit is contained in:
parent
5353d38302
commit
2cc4a42905
@ -813,7 +813,7 @@ class CreateServer extends CreateRecord
|
||||
$serverVariables = collect();
|
||||
$this->ports = [];
|
||||
foreach ($variables as $variable) {
|
||||
if (str_contains($variable->rules, 'port')) {
|
||||
if (in_array('port', $variable->rules)) {
|
||||
$this->eggDefaultPorts[$variable->env_variable] = $variable->default_value;
|
||||
$this->ports[] = (int) $variable->default_value;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user