projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SL::DB::{Chart,Part}: Verwendung von $::request->cache()
[kivitendo-erp.git]
/
SL
/
DB
/
Chart.pm
diff --git
a/SL/DB/Chart.pm
b/SL/DB/Chart.pm
index
db8a3b9
..
7c50b43
100644
(file)
--- a/
SL/DB/Chart.pm
+++ b/
SL/DB/Chart.pm
@@
-17,7
+17,7
@@
sub get_active_taxkey {
my ($self, $date) = @_;
$date ||= DateTime->today_local;
- my $cache = $::request->
{cache}{chart}{$date
};
+ my $cache = $::request->
cache("get_active_taxkey")->{$date} //= {
};
if ($cache->{$self->id}) {
return $cache->{$self->id};
}