We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7dd06a commit 58a430bCopy full SHA for 58a430b
src/java/fr/paris/lutece/plugins/wiki/web/WikiDynamicInputs.java
@@ -159,11 +159,9 @@ public static void updateLastModifyAttemptPage( HttpServletRequest request ) thr
159
sb.append(line);
160
}
161
String requestBody = sb.toString();
162
- // delete the first and last character of the string to parse an int
163
requestBody = requestBody.substring(1);
164
requestBody = requestBody.substring(0, requestBody.length() - 1);
165
final int topicId = Integer.parseInt(requestBody);
166
- // parse
167
Topic topic = TopicHome.findByPrimaryKey( topicId );
168
try
169
{
0 commit comments