mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
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