diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index a26874b8..28a94d3c 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -12,7 +12,7 @@ $(document).ready(function() { var domains = []; $.each(self.ft.rows.all, function(i, row){ - if($.inArray(row.val().domain, domains) === -1) domains.push(row.val().domain); + if((row.val().domain != null) && ($.inArray(row.val().domain, domains) === -1)) domains.push(row.val().domain); }); $form_grp = $('
', {'class': 'form-group'})