projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f83ca4d
)
allow an empty exporttype so you can create new objects
author
ivan
<ivan>
Tue, 26 Oct 2004 12:07:26 +0000
(12:07 +0000)
committer
ivan
<ivan>
Tue, 26 Oct 2004 12:07:26 +0000
(12:07 +0000)
FS/FS/part_export.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export.pm
b/FS/FS/part_export.pm
index
1e0b905
..
3f677b2
100644
(file)
--- 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