*) Bugfix for Blacklist_p.java

- avoid nullpointerexception

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2475 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 09b106eb04
commit f94131c13d

@ -196,7 +196,7 @@ public class Blacklist_p {
// get the entry that should be deleted
String oldEntry = (String)post.get("selectedEntry");
if (oldEntry.trim().length() == 0) {
if (oldEntry == null || oldEntry.trim().length() == 0) {
prop.put("LOCATION",header.get("PATH") + "?selectList=&selectedListName=" + blacklistToUse);
return prop;
}

Loading…
Cancel
Save