summaryrefslogtreecommitdiff
path: root/FS/FS/Record.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-01-28 16:23:38 -0800
committerIvan Kohler <ivan@freeside.biz>2016-01-28 16:23:38 -0800
commitc4c8512adc83e2c6e6640112735e887b71222e1d (patch)
treea040a16d0525af77c47408b6f16f694464dffd75 /FS/FS/Record.pm
parent5ff16520adf5c564a053875165418fe32abf1a5c (diff)
optimize Reports->Customers->List Customers, RT#20173
Diffstat (limited to 'FS/FS/Record.pm')
-rw-r--r--FS/FS/Record.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index cb7d03694..a117b7477 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -199,6 +199,7 @@ sub new {
$self->{'modified'} = 0;
+ $self->_simplecache($self->{'Hash'}) if $self->can('_simplecache');
$self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_;
$self;