@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | use ModuleChartTrait; |
47 | 47 | |
48 | - protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}'; |
|
48 | + protected const ROUTE_URL = '/tree/{tree}/ancestors-{style}-{generations}/{xref}'; |
|
49 | 49 | |
50 | 50 | // Chart styles |
51 | 51 | public const CHART_STYLE_TREE = 'tree'; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | use ModuleChartTrait; |
48 | 48 | |
49 | - protected const ROUTE_URL = '/tree/{tree}/lifespans'; |
|
49 | + protected const ROUTE_URL = '/tree/{tree}/lifespans'; |
|
50 | 50 | |
51 | 51 | // Defaults |
52 | 52 | protected const DEFAULT_PARAMETERS = []; |
@@ -294,8 +294,8 @@ |
||
294 | 294 | if ($parent_id === 0) { |
295 | 295 | // We're at the global level so create a minimal |
296 | 296 | // place for the page title and breadcrumbs |
297 | - $title = I18N::translate('World'); |
|
298 | - $hierarchy = []; |
|
297 | + $title = I18N::translate('World'); |
|
298 | + $hierarchy = []; |
|
299 | 299 | } else { |
300 | 300 | $hierarchy = $this->getHierarchy($parent_id); |
301 | 301 | $tmp = new Location($hierarchy[0]->fqpn); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | use ModuleChartTrait; |
55 | 55 | |
56 | - protected const ROUTE_URL = '/tree/{tree}/pedigree-map-{generations}/{xref}'; |
|
56 | + protected const ROUTE_URL = '/tree/{tree}/pedigree-map-{generations}/{xref}'; |
|
57 | 57 | |
58 | 58 | // Defaults |
59 | 59 | public const DEFAULT_GENERATIONS = '4'; |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | $facts = []; |
327 | 327 | foreach ($ancestors as $sosa => $person) { |
328 | 328 | if ($person->canShow()) { |
329 | - $events = $person->facts(Gedcom::BIRTH_EVENTS, true); |
|
329 | + $events = $person->facts(Gedcom::BIRTH_EVENTS, true); |
|
330 | 330 | foreach ($events as $event) { |
331 | 331 | if ($event->place()->gedcomName() !== '') { |
332 | 332 | $facts[$sosa] = $event; |