diff --git a/autoload/front/controls/class.GlobelusAdverts.php b/autoload/front/controls/class.GlobelusAdverts.php index dd8204c..d6538e0 100644 --- a/autoload/front/controls/class.GlobelusAdverts.php +++ b/autoload/front/controls/class.GlobelusAdverts.php @@ -478,6 +478,8 @@ class GlobelusAdverts $page['language']['noindex'] = '1'; } + \S::set_session( 'redirect_url', $_SERVER['REQUEST_URI'] ); + return \Tpl::view( 'globelus/adverts/adverts-list', [ 'values' => [ 'adverts' => $adverts_list, diff --git a/templates_user/globelus/adverts/advert-apply.php b/templates_user/globelus/adverts/advert-apply.php index fe5ae63..436f85b 100644 --- a/templates_user/globelus/adverts/advert-apply.php +++ b/templates_user/globelus/adverts/advert-apply.php @@ -10,7 +10,7 @@