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

pull/127/head
reger 7 years ago
parent bf55f1d6e5
commit a21789d4e7

@ -62,6 +62,11 @@ public class share {
// push mode: this does a document upload // push mode: this does a document upload
prop.put("mode", 1); prop.put("mode", 1);
prop.put("mode_success", 0); 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; if (post == null) return prop;
// check file name // check file name

Loading…
Cancel
Save