Skip to content

Commit

Permalink
Changes the redirection url after store update
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Nov 23, 2018
1 parent 3b04cf7 commit cf40ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminShopUrlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit cf40ffb

Please sign in to comment.