SF.net SVN: postfixadmin:[708] trunk/edit-vacation.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-08-20 07:09:50
|
Revision: 708 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=708&view=rev Author: GingerDog Date: 2009-08-20 07:09:41 +0000 (Thu, 20 Aug 2009) Log Message: ----------- edit-vacation: fix second postgresql issue (removing vacation) Modified Paths: -------------- trunk/edit-vacation.php Modified: trunk/edit-vacation.php =================================================================== --- trunk/edit-vacation.php 2009-08-20 07:08:44 UTC (rev 707) +++ trunk/edit-vacation.php 2009-08-20 07:09:41 UTC (rev 708) @@ -117,7 +117,7 @@ { $db_false = db_get_boolean(false); // retain vacation message if possible - i.e disable vacation away-ness. - $result = db_query ("UPDATE $table_vacation SET active = $db_false WHERE email='$fUsername'"); + $result = db_query ("UPDATE $table_vacation SET active = '$db_false' WHERE email='$fUsername'"); $result = db_query("DELETE FROM $table_vacation_notification WHERE on_vacation='$fUsername'"); $result = db_query ("SELECT * FROM $table_alias WHERE address='$fUsername'"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |