Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Fix unresolved pattern in api/share.html by init some display var's

regera21789d4e79a
diff --git a/htroot/api/share.java b/htroot/api/share.java
index d9b327e22..167ebe75c 100644
--- a/htroot/api/share.java
+++ b/htroot/api/share.java
@@ -62,6 +62,11 @@ public class share {
// push mode: this does a document upload
prop.put("mode", 1);
prop.put("mode_success", 0);
+ // init display variable for mode=1
+ prop.put("mode_countsuccess", 0);
+ prop.put("mode_countfail", 0);
+ prop.put("mode_item", "");
+
if (post == null) return prop;
// check file name