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

SF.net SVN: ledger-smb: [1991] trunk



Revision: 1991
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1991&view=rev
Author:   einhverfr
Date:     2007-12-20 22:32:50 -0800 (Thu, 20 Dec 2007)

Log Message:
-----------
Correcting header error when creating dataset

Modified Paths:
--------------
    trunk/LedgerSMB/User.pm
    trunk/sql/modules/Payment.sql

Modified: trunk/LedgerSMB/User.pm
===================================================================
--- trunk/LedgerSMB/User.pm	2007-12-21 06:30:19 UTC (rev 1990)
+++ trunk/LedgerSMB/User.pm	2007-12-21 06:32:50 UTC (rev 1991)
@@ -428,7 +428,7 @@
     $ENV{PGHOST}     = $form->{dbhost};
     $ENV{PGPORT}     = $form->{dbport};
 
-    $results = system('psql -f $filename 2>&1');
+    $results = `psql -f $filename 2>&1`;
     if ($?) {
         $form->error($!);
     }

Modified: trunk/sql/modules/Payment.sql
===================================================================
--- trunk/sql/modules/Payment.sql	2007-12-21 06:30:19 UTC (rev 1990)
+++ trunk/sql/modules/Payment.sql	2007-12-21 06:32:50 UTC (rev 1991)
@@ -315,7 +315,6 @@
 RETURNS int AS
 $$
 DECLARE 
-	payment_trans numeric[];
 	out_count int;
 	t_voucher_id int;
 	t_trans_id int;


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