Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 86183dc1

Von Moritz Bunkus vor mehr als 6 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
182 182
  }
183 183

  
184 184
  return $params{module} && !ref $params{module} ? $cache->{module}{$params{module}}
185
       : $params{module} &&  ref $params{module} ? [ map { @{ $cache->{module}{$_} } } @{ $params{module} } ]
185
       : $params{module} &&  ref $params{module} ? [ map { @{ $cache->{module}{$_} // [] } } @{ $params{module} } ]
186 186
       : $cache->{all};
187 187
}
188 188

  

Auch abrufbar als: Unified diff