*) fix for Blogcomment-Preview

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3408 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hydrox 18 years ago
parent 304412a049
commit 116fc016d0

@ -165,7 +165,6 @@ public class BlogComments {
if(post.containsKey("preview")) {
//preview the page
if(hasRights) {
prop.put("mode", 1);//preview
prop.put("mode_pageid", pagename);
try {
@ -178,8 +177,6 @@ public class BlogComments {
prop.putWiki("mode_page", post.get("content", ""));
prop.put("mode_page-code", post.get("content", ""));
}
else prop.put("mode",3); //access denied (no rights)
}
else {
// show blog-entry/entries
prop.put("mode", 0); //viewing

Loading…
Cancel
Save