From db2be455d9b0a7dd517b733c735a414f473ae196 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 31 Dec 2018 14:48:31 +0300 Subject: [PATCH] more styling --- src/Controllers/Language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/Language.php b/src/Controllers/Language.php index 641c18d..0fd97fd 100644 --- a/src/Controllers/Language.php +++ b/src/Controllers/Language.php @@ -61,7 +61,7 @@ public function back($locale, Request $request) if (config('language.url')) { $previous_url = substr(str_replace(env('APP_URL'), '', $session->previousUrl()), 7); - + if (strlen($previous_url) == 3) { $previous_url = substr($previous_url, 3); } else {