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=c2146ae32fdef80049abfa13098db2d45f3ebdd5;hpb=6fe8172b11d0369d0b1274d6825ec0c57afe8001 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