From d1f25581ea41cb1c343d2764254b1b01254bad31 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 2 Jul 2010 14:26:34 -0600 Subject: [PATCH] More correct way of adding PATH_INFO to a URL --- imp/templates/dimp/chunks/compose.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/imp/templates/dimp/chunks/compose.php b/imp/templates/dimp/chunks/compose.php index ec33c30cb..1dd485985 100644 --- a/imp/templates/dimp/chunks/compose.php +++ b/imp/templates/dimp/chunks/compose.php @@ -19,9 +19,12 @@ $save_attach = $GLOBALS['prefs']->getValue('save_attachments'); /* Determine if compose mode is disabled. */ $compose_disable = !IMP::canCompose(); +$compose_link = Horde::getServiceLink('ajax', 'imp'); +$compose_link->pathInfo = 'addAttachment'; + ?> -
+ -- 2.11.0