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

SF.net SVN: ledger-smb:[3098] trunk/LedgerSMB/Setting.pm



Revision: 3098
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3098&view=rev
Author:   einhverfr
Date:     2010-10-14 00:45:11 +0000 (Thu, 14 Oct 2010)

Log Message:
-----------
Fixing missing db array parse call

Modified Paths:
--------------
    trunk/LedgerSMB/Setting.pm

Modified: trunk/LedgerSMB/Setting.pm
===================================================================
--- trunk/LedgerSMB/Setting.pm	2010-10-12 23:07:46 UTC (rev 3097)
+++ trunk/LedgerSMB/Setting.pm	2010-10-14 00:45:11 UTC (rev 3098)
@@ -167,7 +167,7 @@
 sub get_currencies {
     my $self = shift;
     my @data = $self->exec_method(funcname => 'setting__get_currencies');
-    $self->{currencies} = $data[0]->{setting__get_currencies};
+    @{$self->{currencies}} = $self->_parse_array($data[0]->{setting__get_currencies});
     return @{$self->{currencies}};
 }
             


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