[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [586] trunk/LedgerSMB/Form.pm



Revision: 586
          http://svn.sourceforge.net/ledger-smb/?rev=586&view=rev
Author:   tetragon
Date:     2006-11-13 22:33:40 -0800 (Mon, 13 Nov 2006)

Log Message:
-----------
Add typecast to $form->current_date

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-11-14 06:25:23 UTC (rev 585)
+++ trunk/LedgerSMB/Form.pm	2006-11-14 06:33:40 UTC (rev 586)
@@ -2270,7 +2270,7 @@
 		}
 
 		$query = qq|SELECT to_date(?, ?) 
-				+ ? AS thisdate|;
+				+ ?::interval AS thisdate|;
 		@queryargs = ($thisdate, $dateformat, $days);
 
 	} else {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.