From: Michael M Slusarz Date: Tue, 19 Oct 2010 21:44:50 +0000 (-0600) Subject: Fix undefined index error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ac20a963e7eef0ce515b86d9d5acf47a242c4b59;p=horde.git Fix undefined index error --- diff --git a/imp/js/dimpcore.js b/imp/js/dimpcore.js index 419313ca6..da720a9e5 100644 --- a/imp/js/dimpcore.js +++ b/imp/js/dimpcore.js @@ -271,7 +271,7 @@ var DimpCore = { if (type.startsWith('forward') || !args || !args.uids) { if (type.startsWith('forward')) { params.uids = this.toRangeString(this.selectionToRange(args.uids)); - } else if (args.to) { + } else if (args && args.to) { params.to = args.to; } this.popupWindow(this.addURLParam(DIMP.conf.URI_COMPOSE, params), 'compose' + new Date().getTime());