Skip to content

Commit f872f88

Browse files
authored
Update CheckHost.php
1 parent f510233 commit f872f88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CheckHost.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ public function updateNodes(): bool {
8585
* @return bool
8686
*/
8787
public function setCountry(array|null $countries = null, bool $except = false): bool {
88+
89+
if (empty($countries) && $except) {
90+
return false;
91+
}
92+
8893
if (empty($countries)) {
8994
$countries_list = [];
9095
}

0 commit comments

Comments
 (0)