another bookmarks fix

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3856 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 18 years ago
parent 8e2d0ba662
commit b315cb9a81

@ -141,7 +141,7 @@ public class Bookmarks {
}else{
bookmark.setPublic(false);
}
if(((String) post.get("feed")).equals("feed")){
if(post.containsKey("feed") && ((String) post.get("feed")).equals("feed")){
bookmark.setFeed(true);
}else{
bookmark.setFeed(false);
@ -195,6 +195,11 @@ public class Bookmarks {
} else {
prop.put("mode_public", 0);
}
if (bookmark.getFeed()) {
prop.put("mode_feed", 1);
} else {
prop.put("mode_feed", 0);
}
}
}
}else if(post.containsKey("bookmarksfile")){

Loading…
Cancel
Save