From: Felix Dörre Date: Sun, 15 Mar 2015 10:01:32 +0000 (+0100) Subject: Fix: followups for sprintf syntax X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=46dd85120b48c942c00f61775c4c840e956d02df Fix: followups for sprintf syntax --- diff --git a/src/org/cacert/gigi/pages/admin/TTPAdminPage.java b/src/org/cacert/gigi/pages/admin/TTPAdminPage.java index 2f2c25d2..5dbc6409 100644 --- a/src/org/cacert/gigi/pages/admin/TTPAdminPage.java +++ b/src/org/cacert/gigi/pages/admin/TTPAdminPage.java @@ -47,7 +47,7 @@ public class TTPAdminPage extends Page { int id = Integer.parseInt(path.substring(1 + PATH.length())); User u = User.getById(id); if (u == null || !u.isInGroup(TTP_APPLICANT)) { - SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go {0}back{1}.", Arrays.asList("!\"", "!\"")); + SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go {0}back{1}.", Arrays.asList("!'", "!'")); req.setAttribute(PageNotFound.MESSAGE_ATTRIBUTE, command); resp.sendError(404); return;