related to #1693 php8.1 compat for comments in gallery and album edit in admin

This commit is contained in:
Matthieu Leproux 2022-07-26 14:30:39 +02:00 committed by plegall
parent 8ec890bdb7
commit 1e85985a0c
4 changed files with 5 additions and 4 deletions

View file

@ -532,6 +532,7 @@ function set_status_header($code, $text='')
*/
function render_category_literal_description($desc)
{
!isset($desc) ? $desc = "" : false;
return strip_tags($desc, '<span><p><a><br><b><i><small><big><strong><em>');
}