Fix the fix

This commit is contained in:
Stéphane Goetz 2016-07-29 23:25:43 +02:00
parent 6d871c3f62
commit 6f66600fbd

View File

@ -164,9 +164,9 @@ class Processor implements DocumentProcessorInterface
$a = new Link('#' . $entry->getId()); $a = new Link('#' . $entry->getId());
$children = $entry->getChildren(); $content = $entry->getContent();
if ($children != null) { if ($content != null) {
foreach ($this->cloneChildren($entry->getContent()) as $node) { foreach ($this->cloneChildren($content) as $node) {
$a->appendChild($node); $a->appendChild($node);
} }
} }