fix remove wg peer

This commit is contained in:
mercury
2023-06-11 16:35:08 +04:00
parent 2011886740
commit 908b5679d0
+1 -1
View File
@@ -2864,7 +2864,7 @@ DNS-over-HTTPS with IP:
{
$clients = $this->readClients();
unset($clients[$client]);
$this->saveClients($clients);
$this->saveClients(array_values($clients));
}
public function saveClient(array $client)