Clean up spaces

main
Yasen Pramatarov 2024-12-21 17:18:53 +02:00
parent 9b8f92f2eb
commit 45d4fbb377
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ class RateLimiter {
]; ];
// Insert default whitelisted IPs if they don't exist // Insert default whitelisted IPs if they don't exist
$stmt = $this->db->prepare("INSERT OR IGNORE INTO {$this->whitelistTable} $stmt = $this->db->prepare("INSERT OR IGNORE INTO {$this->whitelistTable}
(ip_address, is_network, description, created_by) (ip_address, is_network, description, created_by)
VALUES (?, ?, ?, 'system')"); VALUES (?, ?, ?, 'system')");
foreach ($defaultIps as $ip) { foreach ($defaultIps as $ip) {
$stmt->execute([$ip[0], $ip[1], $ip[2]]); $stmt->execute([$ip[0], $ip[1], $ip[2]]);