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

SF.net SVN: ledger-smb: [1990] branches/1.2/LedgerSMB/User.pm



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

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

Modified Paths:
--------------
    branches/1.2/LedgerSMB/User.pm

Modified: branches/1.2/LedgerSMB/User.pm
===================================================================
--- branches/1.2/LedgerSMB/User.pm	2007-12-21 02:37:23 UTC (rev 1989)
+++ branches/1.2/LedgerSMB/User.pm	2007-12-21 06:30:19 UTC (rev 1990)
@@ -460,7 +460,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($!);
     }


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