Skip to content

Commit

Permalink
Fix js error when flagging a message as unread
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed May 25, 2018
1 parent 9e28998 commit 2275df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,7 @@ function rcube_webmail()
// with select_all mode checking
this.uids_to_list = function(uids)
{
return this.select_all_mode ? '*' : (uids.length <= 1 ? uids.join(',') : uids);
return this.select_all_mode ? '*' : ($.isArray(uids) ? uids.join(',') : uids);
};

// Sets title of the delete button
Expand Down

0 comments on commit 2275df3

Please sign in to comment.