Exit TopLists loop early, but not too early

This commit is contained in:
DL6ER
2017-01-02 11:29:30 +01:00
parent 3cf00165ba
commit 33d6f6da8f

View File

@@ -148,7 +148,7 @@
$topDomains[$key] = $value;
$domaincounter++;
}
else
elseif($domaincounter >= $qty && $adcounter >= $qty)
{
// Already collected enough entries for both lists
// Exit loop early