diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-03-23 19:44:48 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-03-23 19:44:48 +0000 |
commit | 2d996691358d2152fe6c847b9adb4918f7001763 (patch) | |
tree | 437e86c351cb5123d7dbc031ff7d8d80227b57cb /LedgerSMB | |
parent | a5d89741335272cb25d5ee236228b570e7144801 (diff) |
Get _parse_array to work with DBD::Pg 2.3
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2114 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/DBObject.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB/DBObject.pm b/LedgerSMB/DBObject.pm index 6a44fde8..00c94473 100644 --- a/LedgerSMB/DBObject.pm +++ b/LedgerSMB/DBObject.pm @@ -248,6 +248,8 @@ sub run_custom_queries { sub _parse_array { my ($self, $value) = @_; + return @$value if ref $value eq 'ARRAY'; + my $next; my $separator; my @return_array; |