Rename session-related Methode in web interface
[Sone.git] / src / main / java / net / pterodactylus / sone / web / CreateSonePage.java
index a74204c..2484e3a 100644 (file)
@@ -136,7 +136,7 @@ public class CreateSonePage extends SoneTemplatePage {
                if (webInterface.getCore().getPreferences().isRequireFullAccess() && !toadletContext.isAllowedFullAccess()) {
                        return false;
                }
-               return (getCurrentSone(toadletContext, false) == null) || (webInterface.getCore().getLocalSones().size() == 1);
+               return (getCurrentSoneWithoutCreatingSession(toadletContext) == null) || (webInterface.getCore().getLocalSones().size() == 1);
        }
 
 }