Skip to content

Commit 22abbad

Browse files
authored
Merge pull request #53 from jaredclarke/7.3-exception
Fix exception relating to php 7.3 using continue in a switch
2 parents bb0e6ec + 4745d58 commit 22abbad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rtf-html-php.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ protected function ExtractFontTable($fontTblGrp)
700700
case 'fprq': // Font pitch
701701
$fonttbl[$fN]->fprq = $child->parameter;
702702
break;
703-
default: continue;
703+
default: continue 2;
704704
}
705705
} elseif ($child instanceof RtfText) {
706706
// Save font name

0 commit comments

Comments
 (0)