Fix the fix
This commit is contained in:
parent
6d871c3f62
commit
6f66600fbd
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user