diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/User.pm | 2 |
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($!); } |