From 392e03652fbdbfd06d694e89bf7d00ead7d06dba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 1 Oct 2014 17:36:57 +0200 Subject: [PATCH] PriceSource: Fehler, wenn noch keine Quellen disabled sind, behoben. --- SL/PriceSource/ALL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/PriceSource/ALL.pm b/SL/PriceSource/ALL.pm index 3d9813ef7..a15d6b690 100644 --- 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; } -- 2.20.1