From 9a874f2b5f576cd55c795fd5f741f560e27ccca7 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 11 Dec 2018 18:09:40 +0300 Subject: [PATCH] Content: fix issue with page slug --- flextype/Content.php | 1 - 1 file changed, 1 deletion(-) diff --git a/flextype/Content.php b/flextype/Content.php index f8e87270..7338dba7 100755 --- a/flextype/Content.php +++ b/flextype/Content.php @@ -354,7 +354,6 @@ class Content $url = str_replace('//', '/', $url); $url = str_replace('http:/', 'http://', $url); $url = str_replace('https:/', 'https://', $url); - $url = str_replace('/'.Registry::get('settings.pages.main'), '', $url); $url = rtrim($url, '/'); $_page['url'] = $url;