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

SF.net SVN: ledger-smb:[5717] trunk/sql/modules/Account.sql



Revision: 5717
          http://sourceforge.net/p/ledger-smb/code/5717
Author:   ehuelsmann
Date:     2013-04-27 15:34:56 +0000 (Sat, 27 Apr 2013)
Log Message:
-----------
Fix saving of accounts.

Modified Paths:
--------------
    trunk/sql/modules/Account.sql

Modified: trunk/sql/modules/Account.sql
===================================================================
--- trunk/sql/modules/Account.sql	2013-04-27 13:33:35 UTC (rev 5716)
+++ trunk/sql/modules/Account.sql	2013-04-27 15:34:56 UTC (rev 5717)
@@ -347,9 +347,9 @@
 		gifi_accno = in_gifi_accno,
 		heading = t_heading_id,
 		contra = in_contra,
-                obsolete = in_obsolete,
+                obsolete = coalesce(in_obsolete,'f'),
                 tax = t_tax,
-                is_temp = in_is_temp
+                is_temp = coalesce(in_is_temp,'f')
 	WHERE id = in_id;
 
 	IF FOUND THEN

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