Store Sone under a different name to prevent it from being clobbered.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 9c96c3e..0e62f77 100644 (file)
@@ -712,7 +712,7 @@ public class WebInterface implements CoreListener {
                        TemplateNotification templateNotification = soneInsertNotifications.get(sone);
                        if (templateNotification == null) {
                                templateNotification = new TemplateNotification(TemplateParser.parse(createReader("/templates/notify/soneInsertNotification.html")));
-                               templateNotification.set("sone", sone);
+                               templateNotification.set("insertSone", sone);
                                soneInsertNotifications.put(sone, templateNotification);
                        }
                        return templateNotification;