/[cvs]/nfo/patches/horde/turba/actions-in-listview/deleteobject.php.patch
ViewVC logotype

Annotation of /nfo/patches/horde/turba/actions-in-listview/deleteobject.php.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Oct 21 11:20:16 2002 UTC (21 years, 10 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
initial checkin

1 joko 1.1 --- deleteobject.php.orig 2002-03-19 02:59:26.000000000 +0100
2     +++ deleteobject.php.patched 2002-10-21 12:45:22.000000000 +0200
3     @@ -19,7 +19,10 @@
4    
5     $key = Horde::getFormData('key');
6     if ($driver->removeObject($key)) {
7     - header('Location: ' . Horde::url('search.php', true));
8     + // was: go to "search.php"
9     + // header('Location: ' . Horde::url('search.php', true));
10     + // is: go back where we came from
11     + header('Location: ' . $_SERVER['HTTP_REFERER']);
12     } else {
13     Horde::raiseMessage(_("There was an error deleting this object. Contact your system administrator for further help."), HORDE_ERROR);
14    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed