1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Fix wrong flags check for compression method in phar_object.c
  Fix missing check for xmlTextWriterEndElement
  Fix substr_replace with slots in repl_ht being UNDEF
This commit is contained in:
George Peter Banyard
2023-01-15 15:43:34 +00:00
5 changed files with 38 additions and 4 deletions

View File

@@ -449,7 +449,7 @@ PHP_FUNCTION(xmlwriter_write_element)
if (retval == -1) {
RETURN_FALSE;
}
xmlTextWriterEndElement(ptr);
retval = xmlTextWriterEndElement(ptr);
if (retval == -1) {
RETURN_FALSE;
}