From d877887c0268c23acad9785f2307a6f19f9c2b93 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 28 Oct 2008 22:20:27 +0000 Subject: Correcting testability issues in vendor.pl, bug in DBObject.pm git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2381 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/DBObject.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/DBObject.pm b/LedgerSMB/DBObject.pm index 57f5ac6f..dade3ab8 100644 --- a/LedgerSMB/DBObject.pm +++ b/LedgerSMB/DBObject.pm @@ -121,7 +121,7 @@ sub exec_method { $ref = $sth->fetchrow_hashref('NAME_lc'); - my $args = $ref->{proargnames}; + my $pargs = $ref->{proargnames}; my @proc_args; if ( !$ref->{proname} ) { # no such function @@ -132,7 +132,7 @@ sub exec_method { $ref->{pronargs} = 0 unless defined $ref->{pronargs}; # If the user provided args.. if (!defined $args{args}) { - @proc_args = $self->_parse_array($args); + @proc_args = $self->_parse_array($pargs); if (@proc_args) { for my $arg (@proc_args) { if ( $arg =~ s/^in_// ) { -- cgit v1.2.3