X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FViewPostPage.java;h=ca78d9996122c9444603e812fb299c1e1feac4c7;hp=aaf013de070055068a7038821bb33fd29188c9fb;hb=14b1aa4bf4b88e80f9cce4ec14d0950727df4a5f;hpb=63ef27de3c0ebad90acf11e6ed5688d9f83b2d4e diff --git a/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java b/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java index aaf013d..ca78d99 100644 --- a/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ViewPostPage.java @@ -54,7 +54,7 @@ public class ViewPostPage extends SoneTemplatePage { @Override protected String getPageTitle(FreenetRequest request) { String postId = request.getHttpRequest().getParam("post"); - Post post = webInterface.getCore().getPost(postId, false); + Post post = webInterface.getCore().getPost(postId); String title = ""; if ((post != null) && (post.getSone() != null)) { title = post.getText().substring(0, Math.min(20, post.getText().length())) + "…";