/*
- * Sone - TrustPage.java - Copyright © 2011–2012 David Roden
+ * Sone - TrustPage.java - Copyright © 2011–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
String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 256);
String identity = request.getHttpRequest().getPartAsStringFailsafe("sone", 44);
Sone currentSone = getCurrentSone(request.getToadletContext());
- Sone sone = webInterface.getCore().getSone(identity, false);
+ Sone sone = webInterface.getCore().getSone(identity);
if (sone != null) {
webInterface.getCore().trustSone(currentSone, sone);
}