forked from extern/egroupware
Make sure value is set before using it
This commit is contained in:
parent
d6cca90dbf
commit
2bcd6b16d8
@ -4736,7 +4736,7 @@ app.classes.mail = AppJS.extend(
|
||||
{
|
||||
widgets[widget] = this.et2.getWidgetById(widget);
|
||||
|
||||
if (widgets[widget].get_value().length)
|
||||
if (widgets[widget].get_value() && widgets[widget].get_value().length)
|
||||
{
|
||||
switch (widget)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user