X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FEditAlbumAjaxPage.kt;h=321ee7d135a847b49f4a8e0a5651c808be3684ab;hp=cf12b3354490b126f731c2bed1eb70938bc1eb3d;hb=85b7420f3492af4e5591f62ad673309a76de7e04;hpb=77ada453ff332d62adb0a7820e428f6a0030093f diff --git a/src/main/kotlin/net/pterodactylus/sone/web/ajax/EditAlbumAjaxPage.kt b/src/main/kotlin/net/pterodactylus/sone/web/ajax/EditAlbumAjaxPage.kt index cf12b33..321ee7d 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/ajax/EditAlbumAjaxPage.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/ajax/EditAlbumAjaxPage.kt @@ -14,7 +14,7 @@ class EditAlbumAjaxPage(webInterface: WebInterface) : JsonPage("editAlbum.ajax", override fun createJsonObject(request: FreenetRequest) = request.parameters["album"]!! - .let(webInterface.core::getAlbum) + .let(core::getAlbum) ?.let { album -> album.sone.isLocal.ifTrue { when {