summaryrefslogtreecommitdiff
path: root/app/Census/CensusColumnFatherForeign.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Census/CensusColumnFatherForeign.php')
-rw-r--r--app/Census/CensusColumnFatherForeign.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Census/CensusColumnFatherForeign.php b/app/Census/CensusColumnFatherForeign.php
index c77b0b70a7..0e8398787f 100644
--- a/app/Census/CensusColumnFatherForeign.php
+++ b/app/Census/CensusColumnFatherForeign.php
@@ -32,7 +32,7 @@ class CensusColumnFatherForeign extends AbstractCensusColumn implements CensusCo
public function generate(Individual $individual, Individual $head = null) {
$father = $this->father($individual);
- if ($father && $this->country($father->getBirthPlace()) !== $this->place()) {
+ if ($father && $this->lastPartOfPlace($father->getBirthPlace()) !== $this->place()) {
return 'Y';
} else {
return '';