diff --git a/app/include/iTag/Taggers/PoliticalTagger.php b/app/include/iTag/Taggers/PoliticalTagger.php index 04c6993..c5b0455 100644 --- a/app/include/iTag/Taggers/PoliticalTagger.php +++ b/app/include/iTag/Taggers/PoliticalTagger.php @@ -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) {