Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 86183dc1

Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt

  • ID 86183dc1e6af78ad87c0a42bf7e7c055cd2083ce
  • Vorgänger ca2bc8a2
  • Nachfolger 56ed2f3a

CustomVariables: Caching bei nicht existierenden CVars für ein Modul gefixt

Unterschiede anzeigen:

SL/DB/Helper/CustomVariables.pm
}
return $params{module} && !ref $params{module} ? $cache->{module}{$params{module}}
: $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} } } @{ $params{module} } ]
: $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} // [] } } @{ $params{module} } ]
: $cache->{all};
}

Auch abrufbar als: Unified diff