SF.net SVN: postfixadmin:[1746] trunk/list-virtual.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2015-02-28 22:44:53
|
Revision: 1746 http://sourceforge.net/p/postfixadmin/code/1746 Author: christian_boltz Date: 2015-02-28 22:44:51 +0000 (Sat, 28 Feb 2015) Log Message: ----------- list-virtual.php: - replace redirects to list-domain.php with list.php Modified Paths: -------------- trunk/list-virtual.php Modified: trunk/list-virtual.php =================================================================== --- trunk/list-virtual.php 2015-02-28 22:42:11 UTC (rev 1745) +++ trunk/list-virtual.php 2015-02-28 22:44:51 UTC (rev 1746) @@ -46,7 +46,7 @@ } else { flash_error($PALANG['no_domains_for_this_admin']); } - header("Location: list-domain.php"); # no domains (for this admin at least) - redirect to domain list + header("Location: list.php?table=domain"); # no domains (for this admin at least) - redirect to domain list exit; } @@ -59,14 +59,14 @@ if(!in_array($fDomain, $list_domains)) { flash_error( $PALANG['invalid_parameter'] ); unset($_SESSION['list-virtual:domain']); - header("Location: list-domain.php"); # invalid domain, or not owned by this admin + header("Location: list.php?table=domain"); # invalid domain, or not owned by this admin exit; } if (!check_owner(authentication_get_username(), $fDomain)) { flash_error( $PALANG['invalid_parameter'] . " If you see this message, please open a bugreport"); # this check is most probably obsoleted by the in_array() check above unset($_SESSION['list-virtual:domain']); - header("Location: list-domain.php"); # domain not owned by this admin + header("Location: list.php?table=domain"); # domain not owned by this admin exit(0); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |