diff options
Diffstat (limited to 'admin_trees_config.php')
| -rw-r--r-- | admin_trees_config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin_trees_config.php b/admin_trees_config.php index 1cbaf116f5..983bf6eb32 100644 --- a/admin_trees_config.php +++ b/admin_trees_config.php @@ -294,7 +294,7 @@ case 'general': $controller->setPageTitle($WT_TREE->getTitleHtml() . ' — ' . I18N::translate('Preferences')); break; default: - header('Location: admin.php'); + header('Location: ' + route('admin-control-panel')); return; } @@ -304,7 +304,7 @@ $controller ->addExternalJavascript(WT_ADMIN_JS_URL); echo Bootstrap4::breadcrumbs([ - 'admin.php' => I18N::translate('Control panel'), + route('admin-control-panel') => I18N::translate('Control panel'), 'admin_trees_manage.php' => I18N::translate('Manage family trees'), ], $controller->getPageTitle()); ?> |
