From 61612d94c900098de3481798eead60ffb5a77cbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 27 Jul 2012 16:24:20 +0200 Subject: [PATCH] Fix redirect URL. --- .../java/net/pterodactylus/demoscenemusic/page/admin/AddArtistPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddArtistPage.java b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddArtistPage.java index f38a19a..24d5e7b 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddArtistPage.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/page/admin/AddArtistPage.java @@ -62,7 +62,7 @@ public class AddArtistPage extends AdminBasePage { String name = request.getServletRequest().getParameter("name"); try { Artist artist = getCore().getDataManager().createArtist(name); - throw new RedirectException("admin.edit-artist?artist=" + artist.getId()); + throw new RedirectException("admin.edit-artist?id=" + artist.getId()); } catch (DatabaseException de1) { throw new RuntimeException("Could not create artist.", de1); } -- 2.7.4