Fix redirect URL.
[demoscenemusic.git] / src / main / java / net / pterodactylus / demoscenemusic / page / admin / AddArtistPage.java
index f38a19a..24d5e7b 100644 (file)
@@ -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);
                        }