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

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



Revision: 140
          http://svn.sourceforge.net/ledger-smb/?rev=140&view=rev
Author:   einhverfr
Date:     2006-09-23 23:25:29 -0700 (Sat, 23 Sep 2006)

Log Message:
-----------
Fixed bug in custom fields handling

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

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-09-24 06:22:23 UTC (rev 139)
+++ trunk/LedgerSMB/Form.pm	2006-09-24 06:25:29 UTC (rev 140)
@@ -1331,10 +1331,10 @@
 			$query .= " FROM $_";
 		}
 		if ($query_type eq 'SELECT' or $query_type eq 'UPDATE'){
-			$query .= " WHERE field_id = ?";
+			$query .= " WHERE row_id = ?";
 		}
 		if ($query_type eq 'INSERT'){
-			$query .= " field_id) VALUES ($ins_values ?)";
+			$query .= " row_id) VALUES ($ins_values ?)";
 		}
 		if ($query_type eq 'SELECT'){
 			push @rc, [ $query ];


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