]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
[frio] Restyle album edit header. (#5426)
[friendica.git] / mod / photos.php
index 74457d6ac13b33204f3009400484d1feaa6f0324..8798cbb7a8836c9395fc0ee69d5d2a8817724da0 100644 (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
                }