Etemplate: Bugfixes

- Early exit for arrayMgr().getEntry() if nothing is found, avoids returning all data
- Remove debugger from selectbox
This commit is contained in:
nathangray
2021-01-04 11:00:10 -07:00
parent 5c10576b3b
commit cf9c366d2b
4 changed files with 3 additions and 2 deletions

View File

@ -190,6 +190,7 @@ export class et2_arrayMgr
// Parse the given key by removing the "]"-chars and splitting at "["
const indexes = this.explodeKey(_key);
if(indexes.length == 0 && _skipEmpty) return null;
let entry = this.data;
for (let i = 0; i < indexes.length; i++) {