]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/admin/TTPAdminPage.java
Fix: followups on sprintf syntax
[gigi.git] / src / org / cacert / gigi / pages / admin / TTPAdminPage.java
index 04d325c1b02b2479ff7430f39a5150f48864ea62..2f2c25d253edc60c985035d19f0720f91a91c098 100644 (file)
@@ -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 %sback%s.", Arrays.asList("!\"<a href='" + PATH + "'>", "!\"</a>"));
+                SprintfCommand command = new SprintfCommand("The TTP-request is not available anymore. You might want to go {0}back{1}.", Arrays.asList("!\"<a href='" + PATH + "'>", "!\"</a>"));
                 req.setAttribute(PageNotFound.MESSAGE_ATTRIBUTE, command);
                 resp.sendError(404);
                 return;