X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FRecord.pm;h=18624e6c7ca0dbf829a9a3334e7f40d15e51d4a2;hb=f0cf935a32a2e0186dfff6c30513693965a68cf9;hp=671d16c92289d2b221fda79c722d22b06b55ff95;hpb=5044079396b9bef09dd498a0e64a4f20046318b8;p=freeside.git diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 671d16c92..18624e6c7 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -204,6 +204,7 @@ sub new { $self->{'modified'} = 0; + $self->_simplecache($self->{'Hash'}) if $self->can('_simplecache'); $self->_cache($self->{'Hash'}, shift) if $self->can('_cache') && @_; $self;