Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
See if this fixes a bug for a customer
Signed-off-by: szaimen <[email protected]>
  • Loading branch information
szaimen authored Mar 8, 2022
commit 9d86320ed8c24528a1dd17c6bf1df65481aec041
2 changes: 1 addition & 1 deletion sabre/xml/lib/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function getClark()
public function parse(): array
{
$previousEntityState = null;
$shouldCallLibxmlDisableEntityLoader = (\LIBXML_VERSION < 20900);
$shouldCallLibxmlDisableEntityLoader = (\PHP_VERSION_ID < 80000);
if ($shouldCallLibxmlDisableEntityLoader) {
$previousEntityState = libxml_disable_entity_loader(true);
}
Expand Down