X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export.pm;h=3f677b2670386f4790ee0e05113f686aec18cbd3;hb=f441bdef352ddd432e305da35e80813ca30e517f;hp=1e0b905fbbc569a80320b5b932f9ded313e0c0a2;hpb=6fe8172b11d0369d0b1274d6825ec0c57afe8001;p=freeside.git 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