mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
a5f92c041e
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE To ensure consistent behavior across different PHP version the second parameter is now required for the functions: htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()