X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FCreateAlbumPage.java;h=afe95b7814c84c9bf4edf56a4cda04a73a65dfde;hb=3968d1333827f11f4e599e8f47842ad5d3a95193;hp=53822536d16a757d9445bb857059f874e0cceb32;hpb=cb93f0ea4a4e9bf12a313a4465ea3cbc061845f3;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java b/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java index 5382253..afe95b7 100644 --- a/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java +++ b/src/main/java/net/pterodactylus/sone/web/CreateAlbumPage.java @@ -63,7 +63,7 @@ public class CreateAlbumPage extends SoneTemplatePage { String parentId = request.getHttpRequest().getPartAsStringFailsafe("parent", 36); Album parent = webInterface.getCore().getAlbum(parentId, false); Album album = webInterface.getCore().createAlbum(currentSone, parent); - album.setName(name).setDescription(description); + album.setTitle(name).setDescription(description); webInterface.getCore().saveSone(currentSone); throw new RedirectException("imageBrowser.html?album=" + album.getId()); }