Skip to content

Commit cd30361

Browse files
committed
fix typecheck for problem level
1 parent 33874ee commit cd30361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bin/generate-OPL-tables.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ sub pgfiles {
616616
my $path_id = safe_get_id($tables{path}, 'path_id', qq(WHERE path = ?), [$pgpath], 1, '', $pgpath, '', '');
617617

618618
# pgfile table -- set 4 defaults first
619-
my $level = ($tags->{Level} =~ /\d/) ? $tags->{Level} || 0;
619+
my $level = ($tags->{Level} =~ /\d/) ? $tags->{Level} : 0;
620620
my $lang = $tags->{Language} || 'en';
621621
my $mathobj = $tags->{MO} || 0;
622622
my $static = $tags->{Static} || 0;

0 commit comments

Comments
 (0)