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

This commit is contained in:
reger 2017-07-08 22:46:15 +02:00
parent bf55f1d6e5
commit a21789d4e7

View File

@ -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