mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
Etemplate: If key is empty / not set, don't try to explode it
This commit is contained in:
@ -121,6 +121,8 @@ var et2_arrayMgr = /** @class */ (function () {
|
||||
* @return {string[]}
|
||||
*/
|
||||
et2_arrayMgr.prototype.explodeKey = function (_key) {
|
||||
if (!_key || _key.trim() === "")
|
||||
return [];
|
||||
// Parse the given key by removing the "]"-chars and splitting at "["
|
||||
var indexes = [_key];
|
||||
if (typeof _key === "string") {
|
||||
|
Reference in New Issue
Block a user