[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6866] trunk/LedgerSMB/Report.pm
- Subject: SF.net SVN: ledger-smb:[6866] trunk/LedgerSMB/Report.pm
- From: ..hidden..
- Date: Mon, 17 Feb 2014 09:51:34 +0000
Revision: 6866
http://sourceforge.net/p/ledger-smb/code/6866
Author: tshvr
Date: 2014-02-17 09:51:29 +0000 (Mon, 17 Feb 2014)
Log Message:
-----------
avoid message:Use of uninitialized value in hash element
Modified Paths:
--------------
trunk/LedgerSMB/Report.pm
Modified: trunk/LedgerSMB/Report.pm
===================================================================
--- trunk/LedgerSMB/Report.pm 2014-02-17 05:37:35 UTC (rev 6865)
+++ trunk/LedgerSMB/Report.pm 2014-02-17 09:51:29 UTC (rev 6866)
@@ -381,12 +381,13 @@
bc_$class_id holding the $bu_id fields.
=cut
-
sub process_bclasses {
my ($self, $ref) = @_;
for my $bu (@{$ref->{business_units}}){
+ if($bu->[1]){#avoid message:Use of uninitialized value in hash element
push @{$ref->{$bu->[0]}}, $bu->[1]
unless grep(/$bu->[1]/, @{$ref->{$bu->[0]}});
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits