/*
- * Sone - LockSonePage.java - Copyright © 2010 David Roden
+ * Sone - LockSonePage.java - Copyright © 2010–2013 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
super.processTemplate(request, templateContext);
String soneId = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
- Sone sone = webInterface.getCore().getLocalSone(soneId, false);
+ Sone sone = webInterface.getCore().getLocalSone(soneId);
if (sone != null) {
webInterface.getCore().lockSone(sone);
}