[frio] Restyle album edit header. (#5426)

This commit is contained in:
Andreas Neustifter 2018-07-20 21:23:51 +02:00 committed by Hypolite Petovan
commit b26da6096b
3 changed files with 22 additions and 1 deletions

View file

@ -221,7 +221,7 @@ function photos_post(App $a)
// Update the photo albums cache
Photo::clearAlbumCache($page_owner_uid);
$newurl = str_replace(bin2hex($album), bin2hex($newalbum), $_SESSION['photo_return']);
$newurl = System::baseUrl() . '/photos/' . $a->user['nickname'] . '/album/' . bin2hex($newalbum);
goaway($newurl);
return; // NOTREACHED
}