From a21789d4e79ac025be967a2160a940a8041f05dd Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 8 Jul 2017 22:46:15 +0200 Subject: [PATCH] Fix unresolved pattern in api/share.html by init some display var's --- htroot/api/share.java | 5 +++++ 1 file changed, 5 insertions(+) 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