SF.net SVN: postfixadmin: [304] trunk/edit-mailbox.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2008-02-28 11:58:52
|
Revision: 304 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=304&view=rev Author: GingerDog Date: 2008-02-28 03:58:52 -0800 (Thu, 28 Feb 2008) Log Message: ----------- edit-mailbox.php- if the user clicks on cancel, forward them to somewhere else, and not save stuff - see https://sourceforge.net/tracker/index.php?func=detail&aid=1888847&group_id=191583&atid=937964 Modified Paths: -------------- trunk/edit-mailbox.php Modified: trunk/edit-mailbox.php =================================================================== --- trunk/edit-mailbox.php 2008-02-26 20:31:25 UTC (rev 303) +++ trunk/edit-mailbox.php 2008-02-28 11:58:52 UTC (rev 304) @@ -85,6 +85,11 @@ } } +if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['cancel'])) { + header("Location: list-virtual.php?domain=$fDomain"); + exit(0); +} + if ($_SERVER['REQUEST_METHOD'] == "POST") { if (isset ($_POST['fPassword'])) $fPassword = escape_string ($_POST['fPassword']); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |