Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) fix for http://www.yacy-forum.de/viewtopic.php?t=2063

low0128548ee6b5350
diff --git a/htroot/ConfigProfile_p.java b/htroot/ConfigProfile_p.java
index 2280f5d3d..b70535b26 100644
--- a/htroot/ConfigProfile_p.java
+++ b/htroot/ConfigProfile_p.java
@@ -87,6 +87,19 @@ public class ConfigProfile_p {
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
FileOutputStream fileOut = null;
try {
@@ -104,17 +117,19 @@ public class ConfigProfile_p {
}
}
- prop.put("name", profile.getProperty("name", ""));
- prop.put("nickname", profile.getProperty("nickname", ""));
- prop.put("homepage", profile.getProperty("homepage", ""));
- prop.put("email", profile.getProperty("email", ""));
+ else{
+ 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("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", ""));
+ prop.put("comment", profile.getProperty("comment", ""));
+ }
return prop;
}