Clean up spaces
parent
9b8f92f2eb
commit
45d4fbb377
|
@ -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]]);
|
||||||
|
|
Loading…
Reference in New Issue