Fixed passing the description and priority of the createFirewallRule method
This commit is contained in:
@@ -41,11 +41,11 @@ class Firewall implements API
|
||||
];
|
||||
|
||||
if ($description !== null) {
|
||||
$options['description'] = $description;
|
||||
$rule['description'] = $description;
|
||||
}
|
||||
|
||||
if ($priority !== null) {
|
||||
$options['priority'] = $priority;
|
||||
$rule['priority'] = $priority;
|
||||
}
|
||||
|
||||
return $this->createFirewallRules($zoneID, [$rule]);
|
||||
|
||||
Reference in New Issue
Block a user