mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01:00
Exit TopLists loop early, but not too early
This commit is contained in:
@@ -148,7 +148,7 @@
|
||||
$topDomains[$key] = $value;
|
||||
$domaincounter++;
|
||||
}
|
||||
else
|
||||
elseif($domaincounter >= $qty && $adcounter >= $qty)
|
||||
{
|
||||
// Already collected enough entries for both lists
|
||||
// Exit loop early
|
||||
|
||||
Reference in New Issue
Block a user