projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80cdcf
)
Code-Vereinfachung: Unnötige Variable weglassen.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Fri, 16 Aug 2013 14:58:11 +0000
(16:58 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Mon, 25 Nov 2013 13:03:11 +0000
(14:03 +0100)
SL/Helper/Csv/Dispatcher.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/Csv/Dispatcher.pm
b/SL/Helper/Csv/Dispatcher.pm
index
230ac2b
..
a744892
100644
(file)
--- a/
SL/Helper/Csv/Dispatcher.pm
+++ b/
SL/Helper/Csv/Dispatcher.pm
@@
-108,12
+108,10
@@
sub parse_profile {
my $profile;
my $class;
- my $header;
my @specs;
my $i = 0;
- foreach my $h (@{ $self->_csv->header }) {
- $header = $h;
+ foreach my $header (@{ $self->_csv->header }) {
if ($self->_csv->profile) {
$profile = $self->_csv->profile->[$i]->{profile};
$class = $self->_csv->profile->[$i]->{class};