Rename album name to album title.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / CreateAlbumPage.java
index 5382253..afe95b7 100644 (file)
@@ -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());
                }