Merge branch 'release/0.9-rc1'
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / UnlockSoneAjaxPage.java
index f92132d..3a91f81 100644 (file)
@@ -45,7 +45,7 @@ public class UnlockSoneAjaxPage extends JsonPage {
        @Override
        protected JsonReturnObject createJsonObject(FreenetRequest request) {
                String soneId = request.getHttpRequest().getParam("sone");
-               Sone sone = webInterface.getCore().getLocalSone(soneId, false);
+               Sone sone = webInterface.getCore().getLocalSone(soneId);
                if (sone == null) {
                        return createErrorJsonObject("invalid-sone-id");
                }