Cmate export tests: Thinko, using entry as array also in cases where it is not

This commit is contained in:
Kornel Benko 2019-03-25 14:48:17 +01:00
parent 285e72a377
commit baa93548c8

View File

@ -207,7 +207,7 @@ sub interpretedCopy($$$$)
else {
my ($newname, $res1);
my @extlist = ();
if (defined($rStatus->{ext}->[1])) {
if (ref($rStatus->{ext}) eq "ARRAY" && defined($rStatus->{ext}->[1])) {
@extlist = @{$rStatus->{ext}};
}
else {