From cf40ffbfb2b901a0ad9fd3bab7e545b31be3f621 Mon Sep 17 00:00:00 2001 From: Jonathan Lelievre Date: Fri, 23 Nov 2018 12:02:36 +0100 Subject: [PATCH] Changes the redirection url after store update --- controllers/admin/AdminShopUrlController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminShopUrlController.php b/controllers/admin/AdminShopUrlController.php index ec014d7f99049..e7dcff75a1e57 100644 --- a/controllers/admin/AdminShopUrlController.php +++ b/controllers/admin/AdminShopUrlController.php @@ -521,7 +521,7 @@ protected function afterUpdate($object) } if ($this->redirect_shop_url) { - $this->redirect_after = $object->getBaseURI() . basename(_PS_ADMIN_DIR_) . '/' . $this->context->link->getAdminLink('AdminShopUrl'); + $this->redirect_after = $this->context->link->getAdminLink('AdminShopUrl'); } }