mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-21 23:38:39 +00:00
Changed DomNodeList access to work with hhvm
This commit is contained in:
parent
5af6656fae
commit
1520bde191
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class PageRepo
|
|||
$doc->loadHTML($htmlText);
|
||||
|
||||
$container = $doc->documentElement;
|
||||
$body = $container->childNodes[0];
|
||||
$body = $container->childNodes->item(0);
|
||||
$childNodes = $body->childNodes;
|
||||
|
||||
// Ensure no duplicate ids are used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue