Skip to content

Commit

Permalink
Quick fix: default values in Export.pm
Browse files Browse the repository at this point in the history
Updates #630
  • Loading branch information
LukedFitzpatrick committed Jan 1, 2017
1 parent b786fca commit 30ba5b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Biodiverse/GUI/Export.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ use 5.010;

sub Run {
my ($object, %args) = @_;

my $selected_format = $args{selected_format};
my $export_colours = $args{export_colours};
my $selected_format = $args{selected_format} || '';
my $export_colours = $args{export_colours} || 0;

# sometimes we get called on non-objects,
# eg if nothing is highlighted
Expand Down

0 comments on commit 30ba5b4

Please sign in to comment.