From: David ‘Bombe’ Roden Date: Sun, 10 Apr 2011 18:14:03 +0000 (+0200) Subject: Fix album title accessor. X-Git-Tag: beta-freefall-0.6.2-1~49 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e16cb6bba0b7952a9ce2ed2efdd38d3df5987340;p=Sone.git Fix album title accessor. --- diff --git a/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java b/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java index 510056d..2c0a00e 100644 --- a/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/AlbumAccessor.java @@ -46,7 +46,7 @@ public class AlbumAccessor extends ReflectionAccessor { List> backlinks = new ArrayList>(); Album currentAlbum = album; while (currentAlbum != null) { - backlinks.add(0, createLink("imageBrowser.html?album=" + currentAlbum.getId(), currentAlbum.getName())); + backlinks.add(0, createLink("imageBrowser.html?album=" + currentAlbum.getId(), currentAlbum.getTitle())); currentAlbum = currentAlbum.getParent(); } backlinks.add(0, createLink("imageBrowser.html?sone=" + album.getSone().getId(), SoneAccessor.getNiceName(album.getSone())));