diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-10-23 08:03:44 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-10-23 08:03:59 +0100 |
| commit | a7e4e269b2c2fade5a6780850289bed4753f5ffb (patch) | |
| tree | b00aeabb505788d36be68160aff89ba1b1d7d0f2 /app/Census/CensusColumnMotherForeign.php | |
| parent | 4d05a5882553461e2cfd49ba3c94039e01f63942 (diff) | |
| download | webtrees-a7e4e269b2c2fade5a6780850289bed4753f5ffb.tar.gz webtrees-a7e4e269b2c2fade5a6780850289bed4753f5ffb.tar.bz2 webtrees-a7e4e269b2c2fade5a6780850289bed4753f5ffb.zip | |
DRY
Diffstat (limited to 'app/Census/CensusColumnMotherForeign.php')
| -rw-r--r-- | app/Census/CensusColumnMotherForeign.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Census/CensusColumnMotherForeign.php b/app/Census/CensusColumnMotherForeign.php index 64a344c6a9..2fb05952f1 100644 --- a/app/Census/CensusColumnMotherForeign.php +++ b/app/Census/CensusColumnMotherForeign.php @@ -32,7 +32,7 @@ class CensusColumnMotherForeign extends AbstractCensusColumn implements CensusCo public function generate(Individual $individual, Individual $head = null) { $mother = $this->mother($individual); - if ($mother && $this->country($mother->getBirthPlace()) !== $this->place()) { + if ($mother && $this->lastPartOfPlace($mother->getBirthPlace()) !== $this->place()) { return 'Y'; } else { return ''; |
