Create.php Patch
| Newsgroups | gmane.comp.horde.whups |
|---|---|
| Message-ID | <[email protected]> |
Looks like the URL generation was backwards. Patch fixes this. -Mike -- Whups mailing list - Join the hunt: http://horde.org/bounties/#whups Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
create.php.patch
(application/octet-stream, 934 B)
*** create.php.orig Wed Oct 27 10:16:35 2004
--- create.php Wed Oct 27 10:17:57 2004
***************
*** 155,161 ****
header('Location: ' . Horde::applicationUrl('ticket/create.php', true));
} else {
$notification->push(sprintf(_("Your ticket ID is %s. An appropriate person has been notified of this request."), $ticket->getId()), 'horde.success');
! header('Location: ' . Util::addParameter(Horde::applicationUrl('ticket/', true), 'id', $ticket->getId()));
}
exit;
}
--- 155,161 ----
header('Location: ' . Horde::applicationUrl('ticket/create.php', true));
} else {
$notification->push(sprintf(_("Your ticket ID is %s. An appropriate person has been notified of this request."), $ticket->getId()), 'horde.success');
! header('Location: ' . Horde::applicationUrl(Util::addParameter('ticket/', 'id', $ticket->getId()), true));
}
exit;
}