From 9dc846d3b4e92b62492e19a14db105b8575b6dbf Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 21 Dec 2007 06:32:50 +0000 Subject: Correcting header error when creating dataset git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1991 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/User.pm | 2 +- sql/modules/Payment.sql | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm index 0f2f0ec4..959e81df 100644 --- a/LedgerSMB/User.pm +++ b/LedgerSMB/User.pm @@ -428,7 +428,7 @@ sub process_query { $ENV{PGHOST} = $form->{dbhost}; $ENV{PGPORT} = $form->{dbport}; - $results = system('psql -f $filename 2>&1'); + $results = `psql -f $filename 2>&1`; if ($?) { $form->error($!); } diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql index f898528b..930e5ea7 100644 --- a/sql/modules/Payment.sql +++ b/sql/modules/Payment.sql @@ -315,7 +315,6 @@ CREATE OR REPLACE FUNCTION payment_bulk_post RETURNS int AS $$ DECLARE - payment_trans numeric[]; out_count int; t_voucher_id int; t_trans_id int; -- cgit v1.2.3