mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Changed DomNodeList access to work with hhvm
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user