1
1
Fork 0

Replace goaway location SESSION var return_url with page as string value

This commit is contained in:
Jonny Tischbein 2018-10-09 20:10:34 +02:00
commit d8780b1640
5 changed files with 8 additions and 10 deletions

View file

@ -15,7 +15,7 @@ function ostatus_subscribe_content(App $a) {
if (! local_user()) {
notice(L10n::t('Permission denied.') . EOL);
goaway($_SESSION['return_url']);
goaway('/ostatus_subscribe');
// NOTREACHED
}