diff --git a/htroot/Skins_p.html b/htroot/Skins_p.html
index 34017d214..a3acccb3a 100644
--- a/htroot/Skins_p.html
+++ b/htroot/Skins_p.html
@@ -22,13 +22,13 @@ Skins:
#{/skinlist}#
-
+
diff --git a/htroot/Skins_p.java b/htroot/Skins_p.java
index 9c7e5788c..e8ffb37cf 100644
--- a/htroot/Skins_p.java
+++ b/htroot/Skins_p.java
@@ -102,7 +102,7 @@ public class Skins_p {
if (post != null){
//change skin
- if(post.containsKey("use")){
+ if(post.containsKey("use_button")){
changeSkin(env, skinPath, (String)post.get("skin"));
//delete skin
@@ -134,7 +134,7 @@ public class Skins_p {
prop.put("status", 2);//error saving the skin
return prop;
}
- if(post.containsKey("use") && ((String)post.get("use")).equals("on")){
+ if(post.containsKey("use_skin") && ((String)post.get("use_skin")).equals("on")){
changeSkin(env, skinPath, url.substring(url.lastIndexOf("/"), url.length()));
}
}