Skip to content

Commit

Permalink
Merge pull request #56 from jjrom/develop
Browse files Browse the repository at this point in the history
Boolean flag error in limitToContinents !
  • Loading branch information
jjrom authored Mar 9, 2022
2 parents 76eb219 + 4f618ac commit dcb48c8
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 dcb48c8

Please sign in to comment.