mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Make sure value is set before using it
This commit is contained in:
parent
bb60ddd040
commit
48ad4f6d25
@ -142,7 +142,7 @@ var et2_radiobox = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
}
|
||||
}, this, et2_radiobox);
|
||||
|
||||
return val.indexOf(values) ? val : null;
|
||||
return val && val.indexOf(values) ? val : null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user