summaryrefslogtreecommitdiff
path: root/app/Census/CensusColumnMotherBirthPlaceSimple.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Census/CensusColumnMotherBirthPlaceSimple.php')
-rw-r--r--app/Census/CensusColumnMotherBirthPlaceSimple.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Census/CensusColumnMotherBirthPlaceSimple.php b/app/Census/CensusColumnMotherBirthPlaceSimple.php
index 2889cc6fd7..e87ef3d802 100644
--- a/app/Census/CensusColumnMotherBirthPlaceSimple.php
+++ b/app/Census/CensusColumnMotherBirthPlaceSimple.php
@@ -21,7 +21,7 @@ use Fisharebest\Webtrees\Individual;
/**
* The individual's mother's birth place.
*/
-class CensusColumnMotherBirthPlaceSimple extends CensusColumnBirthPlaceSimple implements CensusColumnInterface {
+class CensusColumnMotherBirthPlaceSimple extends CensusColumnMotherBirthPlace implements CensusColumnInterface {
/**
* Generate the likely value of this census column, based on available information.
*
@@ -31,6 +31,6 @@ class CensusColumnMotherBirthPlaceSimple extends CensusColumnBirthPlaceSimple im
* @return string
*/
public function generate(Individual $individual, Individual $head = null) {
- return parent::generate($this->mother($individual), $head);
+ return $this->lastPartOfPlace(parent::generate($individual, $head));
}
}