X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fajax%2FGetPostAjaxPage.java;h=0c2311e3d6646de58e0b4673b8fba74df4f60ecd;hp=ae813ee01cf86c87e359bbb71f1963101e2353e8;hb=14b1aa4bf4b88e80f9cce4ec14d0950727df4a5f;hpb=63ef27de3c0ebad90acf11e6ed5688d9f83b2d4e diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/GetPostAjaxPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/GetPostAjaxPage.java index ae813ee..0c2311e 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/GetPostAjaxPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/GetPostAjaxPage.java @@ -59,7 +59,7 @@ public class GetPostAjaxPage extends JsonPage { @Override protected JsonObject createJsonObject(FreenetRequest request) { String postId = request.getHttpRequest().getParam("post"); - Post post = webInterface.getCore().getPost(postId, false); + Post post = webInterface.getCore().getPost(postId); if (post == null) { return createErrorJsonObject("invalid-post-id"); }