From f9c953481ac6e62e2894839295432fbb28916512 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 29 Apr 2006 21:37:49 +0000 Subject: [PATCH] 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 --- htroot/ViewProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.java index 14b3b5eb2..4c6bfd079 100644 --- a/htroot/ViewProfile.java +++ b/htroot/ViewProfile.java @@ -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; }