mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Avoid fatal error breaking nm if fields is null
This commit is contained in:
parent
dc6da791f4
commit
9feb7e22bf
@ -1235,7 +1235,7 @@ var et2_nextmatch_customfields = et2_nextmatch_header.extend({
|
||||
if(!data.fields) data.fields = {};
|
||||
for(var field in this.options.customfields)
|
||||
{
|
||||
data.fields[field] = (typeof this.options.fields[field] == 'undefined' ? false : this.options.fields[field]);
|
||||
data.fields[field] = (this.options.fields == null || typeof this.options.fields[field] == 'undefined' ? false : this.options.fields[field]);
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user