diff --git a/engine/core/class/CodePressCMS.php b/engine/core/class/CodePressCMS.php
index 245a5ea..8a5be37 100644
--- a/engine/core/class/CodePressCMS.php
+++ b/engine/core/class/CodePressCMS.php
@@ -128,7 +128,7 @@ class CodePressCMS {
'type' => 'file',
'title' => $title,
'path' => $pathWithoutExt,
- 'url' => '?page=' . $pathWithoutExt
+ 'url' => '?page=' . $pathWithoutExt . '&lang=' . $this->currentLanguage
];
}
}
@@ -891,7 +891,7 @@ class CodePressCMS {
*/
private function generateBreadcrumb() {
if (isset($_GET['search'])) {
- return '';
+ return '';
}
$page = $_GET['page'] ?? $this->config['default_page'];
@@ -904,7 +904,7 @@ class CodePressCMS {
$breadcrumb = '