We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d816f commit 2b4b200Copy full SHA for 2b4b200
src/PhpWord/Writer/Word2007/Element/Field.php
@@ -64,7 +64,7 @@ public function write()
64
$xmlWriter->endElement(); // w:r
65
66
if ($element->getText() != null) {
67
- if ($element->getText() instanceof PhpOffice\PhpWord\Element\TextRun) {
+ if ($element->getText() instanceof \PhpOffice\PhpWord\Element\TextRun) {
68
69
$containerWriter = new Container($xmlWriter, $element->getText(), true);
70
$containerWriter->write();
0 commit comments