projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove possibility to create Sones from sone provider interface.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
ImageBrowserPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
b/src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
index
4a9548e
..
d0a446f
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
@@
-77,7
+77,7
@@
public class ImageBrowserPage extends SoneTemplatePage {
}
String soneId = request.getHttpRequest().getParam("sone", null);
if (soneId != null) {
}
String soneId = request.getHttpRequest().getParam("sone", null);
if (soneId != null) {
- Sone sone = webInterface.getCore().getSone(soneId
, false
);
+ Sone sone = webInterface.getCore().getSone(soneId);
templateContext.set("soneRequested", true);
templateContext.set("sone", sone);
return;
templateContext.set("soneRequested", true);
templateContext.set("sone", sone);
return;