summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-21 06:30:19 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-21 06:30:19 +0000
commit83700eaa5b26f74ea5f6ae9d133885fea88882c7 (patch)
tree9f5fd2e261588355ec644cef9e5aac6ff38512fd /LedgerSMB
parenta1a0115a1cc5e2a496252be3b9a239c49558564d (diff)
Correcting header error when creating dataset
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1990 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm
index 3bae4d8a..7ef25547 100755
--- a/LedgerSMB/User.pm
+++ b/LedgerSMB/User.pm
@@ -460,7 +460,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($!);
}