[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6159] trunk/LedgerSMB/Setting/Sequence.pm
- Subject: SF.net SVN: ledger-smb:[6159] trunk/LedgerSMB/Setting/Sequence.pm
- From: ..hidden..
- Date: Wed, 23 Oct 2013 11:19:15 +0000
Revision: 6159
http://sourceforge.net/p/ledger-smb/code/6159
Author: einhverfr
Date: 2013-10-23 11:19:14 +0000 (Wed, 23 Oct 2013)
Log Message:
-----------
fixes to increment interface
Modified Paths:
--------------
trunk/LedgerSMB/Setting/Sequence.pm
Modified: trunk/LedgerSMB/Setting/Sequence.pm
===================================================================
--- trunk/LedgerSMB/Setting/Sequence.pm 2013-10-23 10:38:21 UTC (rev 6158)
+++ trunk/LedgerSMB/Setting/Sequence.pm 2013-10-23 11:19:14 UTC (rev 6159)
@@ -159,7 +159,7 @@
=cut
sub increment {
- my ($self, $val1, $val2);
+ my ($self, $val1, $val2) = @_;
my $label;
my $vars;
if (ref $val1 eq ref {}){
@@ -171,7 +171,6 @@
}
my ($ref) = __PACKAGE__->call_procedure(procname => 'sequence__increment',
args => [$label]);
-
my ($value) = values %$ref;
return LedgerSMB::Setting::_increment_process($value, $vars);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits