From: Michael M Slusarz Date: Fri, 17 Dec 2010 05:30:07 +0000 (-0700) Subject: m.message might be null if JSON encoding is broken X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41b934b1ed6c8aa82448bf2cde1c89ec2926d467;p=horde.git m.message might be null if JSON encoding is broken --- diff --git a/imp/js/dimpcore.js b/imp/js/dimpcore.js index 9b6392814..2f6cdf773 100644 --- a/imp/js/dimpcore.js +++ b/imp/js/dimpcore.js @@ -222,6 +222,10 @@ var DimpCore = { } msgs.find(function(m) { + if (!Object.isString(m.message)) { + return; + } + switch (m.type) { case 'horde.ajaxtimeout': this.logout(m.message);