Revision: 152
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=152&view=rev
Author: christian_boltz
Date: 2007-10-12 12:35:53 -0700 (Fri, 12 Oct 2007)
Log Message:
-----------
- fix: remove spurious comma from goto when removing vacation alias
reported by inle in https://sourceforge.net/forum/message.php?msg_id=4564628
Modified Paths:
--------------
trunk/users/vacation.php
Modified: trunk/users/vacation.php
===================================================================
--- trunk/users/vacation.php 2007-10-11 22:27:25 UTC (rev 151)
+++ trunk/users/vacation.php 2007-10-12 19:35:53 UTC (rev 152)
@@ -113,8 +113,8 @@
//only one of these will do something, first handles address at beginning and middle, second at end, third if it's the only alias record.
$goto= preg_replace ( "/$vacation_goto,/", '', $tGoto);
- $goto= preg_replace ( "/,$vacation_goto/", '', $tGoto);
- $goto= preg_replace ( "/$vacation_goto/", '', $tGoto);
+ $goto= preg_replace ( "/,$vacation_goto/", '', $goto);
+ $goto= preg_replace ( "/$vacation_goto/", '', $goto);
$query = "UPDATE $table_alias SET goto='$goto',modified=NOW() WHERE address='$USERID_USERNAME'";
if($goto == '') {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|