diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-02-04 22:12:37 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-02-04 22:12:37 +0000 |
| commit | b164ca57552a25e83f2c8aa654e2e6557c1bd0f9 (patch) | |
| tree | 7e7bff94b0658575565289f699b13bd5d0abcd83 /app/Census | |
| parent | 2cc41105854089b2b62d3c6f69fc0540e703f361 (diff) | |
| download | webtrees-b164ca57552a25e83f2c8aa654e2e6557c1bd0f9.tar.gz webtrees-b164ca57552a25e83f2c8aa654e2e6557c1bd0f9.tar.bz2 webtrees-b164ca57552a25e83f2c8aa654e2e6557c1bd0f9.zip | |
Fix #823 - census birthplace
Diffstat (limited to 'app/Census')
| -rw-r--r-- | app/Census/CensusColumnBornForeignParts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Census/CensusColumnBornForeignParts.php b/app/Census/CensusColumnBornForeignParts.php index d06d79e363..653993be04 100644 --- a/app/Census/CensusColumnBornForeignParts.php +++ b/app/Census/CensusColumnBornForeignParts.php @@ -42,7 +42,7 @@ class CensusColumnBornForeignParts extends AbstractCensusColumn implements Censu $census_place = 'England'; } - if ($birth_place === $census_place) { + if ($birth_place === $census_place || $birth_place === '') { return ''; } elseif ($birth_place === 'England' || $birth_place === 'Scotland' || $birth_place === 'Ireland') { return substr($birth_place, 0, 1); |
