mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #1960 custom pwg_nl2br to avoid warning on PHP 8.1+
This commit is contained in:
@@ -327,7 +327,7 @@ if (isset($conf['header_notes']))
|
||||
add_event_handler('render_category_literal_description', 'render_category_literal_description');
|
||||
if ( !$conf['allow_html_descriptions'] )
|
||||
{
|
||||
add_event_handler('render_category_description', 'nl2br');
|
||||
add_event_handler('render_category_description', 'pwg_nl2br');
|
||||
}
|
||||
add_event_handler('render_comment_content', 'render_comment_content');
|
||||
add_event_handler('render_comment_author', 'strip_tags');
|
||||
|
||||
Reference in New Issue
Block a user