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
parent 23be68e74d
commit d8780b1640
5 changed files with 8 additions and 10 deletions
+1 -3
View File
@@ -25,9 +25,7 @@ function filerm_content(App $a) {
file_tag_unsave_file(local_user(),$item_id,$term, $category);
}
if (x($_SESSION,'return_url')) {
goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
}
goaway('/network');
killme();
}