From: Michael M Slusarz Date: Mon, 13 Sep 2010 22:15:32 +0000 (-0600) Subject: These entries might be null X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=354f56b3b0d8112b3d7bb7d4624330de9d6c2d85;p=horde.git These entries might be null --- diff --git a/imp/js/dimpbase.js b/imp/js/dimpbase.js index e52d00d86..ba56fc3de 100644 --- a/imp/js/dimpbase.js +++ b/imp/js/dimpbase.js @@ -433,7 +433,9 @@ var DimpBase = { if (this.isSearch(null, true)) { re = new RegExp("(" + $F('qsearch_input') + ")", "i"); [ 'from', 'subject' ].each(function(h) { - r[h] = r[h].gsub(re, '#{1}'); + if (r[h] !== null) { + r[h] = r[h].gsub(re, '#{1}'); + } }); }