summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-03-29 06:03:23 +0000
committerivan <ivan>2004-03-29 06:03:23 +0000
commitbccaf86a5765a6f174bd890c92859c639d83ce9b (patch)
treef6d73897834de5190a14e54ce5be3291f53cc0be /FS
parent99c8f528e11900dd5db3e3c30fd684f8cf36ed20 (diff)
fix export_info sub to return an empty hashref instead of undef
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_export.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 5941935ba..f722dd917 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -513,7 +513,7 @@ on the export:
sub export_info {
#warn $_[0];
- return $exports{$_[0]} if @_;
+ return $exports{$_[0]} || {} if @_;
#{ map { %{$exports{$_}} } keys %exports };
my $r = { map { %{$exports{$_}} } keys %exports };
}