X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FRecord.pm;h=a117b74771c9c8f3fe8842be9c308e0bdc6b395b;hb=0ff3950a9293b9055363c327816276ff45268d82;hp=cb7d03694c382efe0ed995f32fac8f6e50d5a96f;hpb=e3e85ffe37860ce292d359439f4bb4712e64a69b;p=freeside.git 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;