SF.net SVN: postfixadmin:[707] trunk/edit-vacation.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-08-20 07:08:56
|
Revision: 707 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=707&view=rev Author: GingerDog Date: 2009-08-20 07:08:44 +0000 (Thu, 20 Aug 2009) Log Message: ----------- edit-vacation.php: fix postgresql issue Modified Paths: -------------- trunk/edit-vacation.php Modified: trunk/edit-vacation.php =================================================================== --- trunk/edit-vacation.php 2009-08-18 20:52:37 UTC (rev 706) +++ trunk/edit-vacation.php 2009-08-20 07:08:44 UTC (rev 707) @@ -164,7 +164,7 @@ $result = db_query("UPDATE $table_vacation SET active = $Active, subject = '$fSubject', body = '$fBody', created = NOW() WHERE email = '$fUsername'"); } else { - $result = db_query ("INSERT INTO $table_vacation (email,subject,body,domain,created,active) VALUES ('$fUsername','$fSubject','$fBody','$fDomain',NOW(),$Active)"); + $result = db_query ("INSERT INTO $table_vacation (email,subject,body,domain,created,active) VALUES ('$fUsername','$fSubject','$fBody','$fDomain',NOW(),'$Active')"); } if ($result['rows'] != 1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |