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:
5384e5c
)
PriceSource: Fehler, wenn noch keine Quellen disabled sind, behoben.
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 1 Oct 2014 15:36:57 +0000
(17:36 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 18 Dec 2014 15:18:22 +0000
(16:18 +0100)
SL/PriceSource/ALL.pm
patch
|
blob
|
history
diff --git
a/SL/PriceSource/ALL.pm
b/SL/PriceSource/ALL.pm
index
3d9813e
..
a15d6b6
100644
(file)
--- a/
SL/PriceSource/ALL.pm
+++ b/
SL/PriceSource/ALL.pm
@@
-18,7
+18,7
@@
my @price_sources_order = qw(
);
sub all_enabled_price_sources {
- my %disabled = map { $_ => 1 } @{ $::instance_conf->get_disabled_price_sources };
+ my %disabled = map { $_ => 1 } @{ $::instance_conf->get_disabled_price_sources
|| []
};
map { $price_sources_by_name{$_} } grep { !$disabled{$_} } @price_sources_order;
}