Fix goaway call

This commit is contained in:
Jonny Tischbein 2018-10-23 11:44:31 +02:00
parent fd2e06781d
commit 1689c44085

View file

@ -82,7 +82,7 @@ function tagrm_content(App $a)
if ($a->argc == 3){
update_tags($a->argv[1], [hex2bin(notags(trim($a->argv[2])))]);
goaway('/' . $_SESSION['photo_return']);
$a->internalRedirect($_SESSION['photo_return']);
}
$item_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);