diff options
author | ivan <ivan> | 2004-03-29 06:03:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-03-29 06:03:21 +0000 |
commit | 0a49e67bc01107bc9c57bc16dd8f906184cf349b (patch) | |
tree | 1704effe028d4c2d27d85046c5bf369bebaa7da2 /FS/FS/part_export.pm | |
parent | 6af03ca1ad3c06aa1e7affb634bb0640b139dd6d (diff) |
fix export_info sub to return an empty hashref instead of undef
Diffstat (limited to 'FS/FS/part_export.pm')
-rw-r--r-- | FS/FS/part_export.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 061f07d28..bd12389c2 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 }; } |