X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export.pm;h=3f677b2670386f4790ee0e05113f686aec18cbd3;hp=1e0b905fbbc569a80320b5b932f9ded313e0c0a2;hb=3d2712d80b2a6a4b895c96373d3ef4633dc1cecc;hpb=f83ca4d5d217b627b7782e947b8df6e12936414b diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 1e0b905fb..3f677b267 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -390,8 +390,9 @@ sub _rebless { my $exporttype = $self->exporttype; my $class = ref($self). "::$exporttype"; eval "use $class;"; - die $@ if $@; - bless($self, $class); + #die $@ if $@; + bless($self, $class) unless $@; + $self; } #these should probably all go away, just let the subclasses define em