projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use traditional getter name.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
FollowSonePage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/FollowSonePage.java
b/src/main/java/net/pterodactylus/sone/web/FollowSonePage.java
index
cfa60bb
..
9fbca9a
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/FollowSonePage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/FollowSonePage.java
@@
-55,6
+55,7
@@
public class FollowSonePage extends SoneTemplatePage {
Sone sone = webInterface.core().getSone(soneId);
if (!sone.equals(currentSone)) {
currentSone.addFriend(sone);
+ webInterface.core().saveSone(currentSone);
}
throw new RedirectException(returnPage);
}