if (!is_site_admin()) {
notice(L10n::t('Please login to continue.'));
- Session::set('return_path', $a->query_string);
- $a->internalRedirect('login');
+ Session::set('return_path', DI::args()->getQueryString());
+ DI::baseUrl()->redirect('login');
}
if (!empty($_SESSION['submanage'])) {