Skip to content

Commit

Permalink
Boolean flag error in limitToContinents !
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrom committed Mar 9, 2022
1 parent 6211782 commit 4f618ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/include/iTag/Taggers/PoliticalTagger.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private function addCountriesToContinents(&$continents, $element, $limitToContin
}

// Skip countries
if ( $limitToContinents ) {
if ( !$limitToContinents ) {
$area = $this->toSquareKm($element['area']);
$pcover = $this->percentage($area, $this->area);
if ($pcover > 0) {
Expand Down

0 comments on commit 4f618ac

Please sign in to comment.