low012 19 years ago
parent 68ec572df0
commit 8548ee6b53

@ -87,6 +87,19 @@ public class ConfigProfile_p {
profile.setProperty("comment", (String)post.get("comment")); profile.setProperty("comment", (String)post.get("comment"));
prop.put("name", profile.getProperty("name", ""));
prop.put("nickname", profile.getProperty("nickname", ""));
prop.put("homepage", profile.getProperty("homepage", ""));
prop.put("email", profile.getProperty("email", ""));
prop.put("icq", profile.getProperty("icq", ""));
prop.put("jabber", profile.getProperty("jabber", ""));
prop.put("yahoo", profile.getProperty("yahoo", ""));
prop.put("msn", profile.getProperty("msn", ""));
prop.put("comment", profile.getProperty("comment", ""));
// write new values // write new values
FileOutputStream fileOut = null; FileOutputStream fileOut = null;
try { try {
@ -104,6 +117,7 @@ public class ConfigProfile_p {
} }
} }
else{
prop.put("name", profile.getProperty("name", "")); prop.put("name", profile.getProperty("name", ""));
prop.put("nickname", profile.getProperty("nickname", "")); prop.put("nickname", profile.getProperty("nickname", ""));
prop.put("homepage", profile.getProperty("homepage", "")); prop.put("homepage", profile.getProperty("homepage", ""));
@ -115,6 +129,7 @@ public class ConfigProfile_p {
prop.put("msn", profile.getProperty("msn", "")); prop.put("msn", profile.getProperty("msn", ""));
prop.put("comment", profile.getProperty("comment", "")); prop.put("comment", profile.getProperty("comment", ""));
}
return prop; return prop;
} }

Loading…
Cancel
Save