Fix goaway call
This commit is contained in:
parent
fd2e06781d
commit
1689c44085
|
@ -82,7 +82,7 @@ function tagrm_content(App $a)
|
||||||
|
|
||||||
if ($a->argc == 3){
|
if ($a->argc == 3){
|
||||||
update_tags($a->argv[1], [hex2bin(notags(trim($a->argv[2])))]);
|
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);
|
$item_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
|
||||||
|
|
Loading…
Reference in a new issue