From: Kornel Benko Date: Mon, 25 Mar 2019 13:48:17 +0000 (+0100) Subject: Cmate export tests: Thinko, using entry as array also in cases where it is not X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2345 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=baa93548c8d977bcd45349f46ab271a86950d022;p=features.git Cmate export tests: Thinko, using entry as array also in cases where it is not --- diff --git a/development/autotests/useSystemFonts.pl b/development/autotests/useSystemFonts.pl index ee65c61c09..98fd59acec 100644 --- a/development/autotests/useSystemFonts.pl +++ b/development/autotests/useSystemFonts.pl @@ -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 {