isite 2022.1.11 → 2022.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/parser.js +6 -1
- package/package.json +1 -1
package/lib/parser.js
CHANGED
|
@@ -229,7 +229,12 @@ module.exports = function init(req, res, ____0, route) {
|
|
|
229
229
|
return req.session[v[0]];
|
|
230
230
|
}
|
|
231
231
|
if (v.length === 2) {
|
|
232
|
-
|
|
232
|
+
let s1 = req.session[v[0]];
|
|
233
|
+
if (s1) {
|
|
234
|
+
return s1[v[1]];
|
|
235
|
+
} else {
|
|
236
|
+
return '';
|
|
237
|
+
}
|
|
233
238
|
}
|
|
234
239
|
}
|
|
235
240
|
}
|