mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-15 19:24:21 +02:00
Fix error trim is not a function from commit bac5c2e83b
This commit is contained in:
@ -125,7 +125,7 @@ export class et2_arrayMgr
|
||||
* @return {string[]}
|
||||
*/
|
||||
explodeKey(_key: string): string[] {
|
||||
if(!_key || _key.trim() === "") return [];
|
||||
if(!_key || typeof _key == 'string' && _key.trim() === "") return [];
|
||||
|
||||
// Parse the given key by removing the "]"-chars and splitting at "["
|
||||
let indexes = [_key];
|
||||
|
Reference in New Issue
Block a user