[Bug 894] New - save as link returns error and fails to send file
bugs@bugs.horde.org
bugs@bugs.horde.org
Wed, 6 Mar 2002 20:08:00 -0400
http://bugs.horde.org/show_bug.cgi?id=894
*** shadow/894 Wed Mar 6 20:08:00 2002
--- shadow/894.tmp.3004 Wed Mar 6 20:08:00 2002
***************
*** 0 ****
--- 1,38 ----
+ Bug#: 894
+ Product: Horde
+ Version: 2.0 Stable
+ Platform: PHP Code
+ OS/Version: Linux
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org
+ ReportedBy: duane@gibnet.net
+ URL:
+ Summary: save as link returns error and fails to send file
+
+ It looks like the link [Save as] did not include the variable called index in
+ the url. As a result it returned warnings saying index was not defined.
+
+ I modified the template navbar.inc to include index in the url and this seems
+ to have fixed the problem.
+
+ Below is the line before and after making changes.
+ ---- CODE ----
+ imp/templates/message/navbar.inc:23
+ | <?= Horde::link(Horde::applicationUrl('view.php?actionID=' .
+ SAVE_MESSAGE . "&$form_ident=$form_index&start=$msgindex&array_index=" .
+ $HTTP_GET_VARS['array_index']), _("Save as"), 'widget') . _("Save as") ?></a>
+
+
+ imp/templates/message/navbar.inc:23
+ | <?= Horde::link(Horde::applicationUrl('view.php?actionID=' .
+ SAVE_MESSAGE . '&index=' . $HTTP_GET_VARS
+ ['index'] . "&$form_ident=$form_index&start=$msgindex&array_index=" .
+ $HTTP_GET_VARS['array_index']), _("Save as"), 'widget') . _("Save as") ?></a>
+ ---- CODE ----
+
+