fix for icq+jabber icons

see http://www.yacy-forum.de/viewtopic.php?p=20533#20533

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2046 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 007b8008c2
commit f9c953481a

@ -167,11 +167,11 @@ public class ViewProfile {
}
//all known Keys which should be set as they are
if (knownKeys.contains(key)) {
if ((knownKeys.contains(key)) && (value.length() > 0)) {
prop.put("success_" + key, 1);
prop.put("success_" + key + "_value", value);
//special handling, hide flower if no icq uin is set
} else if (key.equals("homepage")) {
} else if ((key.equals("homepage")) && (value.length() > 0)) {
if (!(value.startsWith("http"))) {
value = "http://" + value;
}

Loading…
Cancel
Save