@@ -45,7 +45,7 @@ |
||
| 45 | 45 | { |
| 46 | 46 | use ModuleChartTrait; |
| 47 | 47 | |
| 48 | - protected const ROUTE_URL = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}'; |
|
| 48 | + protected const ROUTE_URL = '/tree/{tree}/hourglass-{generations}-{spouses}/{xref}'; |
|
| 49 | 49 | |
| 50 | 50 | // Defaults |
| 51 | 51 | private const DEFAULT_GENERATIONS = '3'; |
@@ -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); |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | if (error_get_last() !== null && error_get_last()['type'] & E_ERROR) { |
| 83 | 83 | // If PHP does not display the error, then we must display it. |
| 84 | 84 | if (ini_get('display_errors') !== '1') { |
| 85 | - echo error_get_last()['message'], '<br><br>', error_get_last()['file'] , ': ', error_get_last()['line']; |
|
| 85 | + echo error_get_last()['message'], '<br><br>', error_get_last()['file'], ': ', error_get_last()['line']; |
|
| 86 | 86 | } |
| 87 | 87 | // Not our fault? |
| 88 | 88 | if (strpos(error_get_last()['file'], '/modules_v4/') !== false) { |