Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 999cace7

Von Sven Schöling vor mehr als 7 Jahren hinzugefügt

  • ID 999cace76fbcb8721e8c9106dd4164f241593d4e
  • Vorgänger 5491ab17
  • Nachfolger b62535cf

CustomVariables: Beim Cachen von überlagerten Invalids können mehrere module auftauchen

Unterschiede anzeigen:

SL/DB/Helper/CustomVariables.pm
# easy 2: no module in params? no validity
return [] unless $params{module};
my @module_configs = grep { $_->module eq $params{module} } @$configs;
my %wanted_modules = ref $params{module} ? map { $_ => 1 } @{ $params{module} } : ($params{module} => 1);
my @module_configs = grep { $wanted_modules{$_->module} } @$configs;
return [] unless @module_configs;

Auch abrufbar als: Unified diff