diff options
author | Simon L <szaimen@e.mail.de> | 2022-03-08 13:30:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 13:30:01 +0300 |
commit | 9d86320ed8c24528a1dd17c6bf1df65481aec041 (patch) | |
tree | 016518e936a0c2f0ea791a9e08d311ed9eb79a5a | |
parent | 41d5f9752c7e0f2b690480a38ef5b9dddc357166 (diff) |
See if this fixes a bug for a customerszaimen-patch-1
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r-- | sabre/xml/lib/Reader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sabre/xml/lib/Reader.php b/sabre/xml/lib/Reader.php index 7871a74f..271ef326 100644 --- a/sabre/xml/lib/Reader.php +++ b/sabre/xml/lib/Reader.php @@ -56,7 +56,7 @@ class Reader extends XMLReader public function parse(): array { $previousEntityState = null; - $shouldCallLibxmlDisableEntityLoader = (\LIBXML_VERSION < 20900); + $shouldCallLibxmlDisableEntityLoader = (\PHP_VERSION_ID < 80000); if ($shouldCallLibxmlDisableEntityLoader) { $previousEntityState = libxml_disable_entity_loader(true); } |