diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index a8ced585ec..2cf7c7796d 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -64,6 +64,7 @@ $text = $language->get(); //load the header + $document['title'] = $text['title-user_dashboard']; require_once "resources/header.php"; //start the content @@ -1291,14 +1292,7 @@ echo "\n"; } -//add multi-lingual support - $language = new text; - $text = $language->get(); - -//set the title - $document['title'] = $text['title-user_dashboard']; - //show the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file