aboutsummaryrefslogtreecommitdiff
path: root/lib/php8backports.php
diff options
context:
space:
mode:
authorGravatar Jan Tojnar <jtojnar@gmail.com> 2022-06-17 20:46:15 +0200
committerGravatar GitHub <noreply@github.com> 2022-06-17 20:46:15 +0200
commit10eb1c9a95eedb2dfe8bcb794388f7c4d8a5ed06 (patch)
tree9827d89077091485de5bbd3d772ae9eb6a5e4d30 /lib/php8backports.php
parent9ac494b3508625e1e28abee063f34f1bba5f1fd1 (diff)
downloadrss-bridge-10eb1c9a95eedb2dfe8bcb794388f7c4d8a5ed06.tar.gz
rss-bridge-10eb1c9a95eedb2dfe8bcb794388f7c4d8a5ed06.tar.zst
rss-bridge-10eb1c9a95eedb2dfe8bcb794388f7c4d8a5ed06.zip
[FormatAbstract]: Ensure sanitizeHtml is given string (#2791)
Sometimes `Item::getContent` returns `null`, in which case `sanitizeHtml` would pass it to `str_replace`, which would raise `E_DEPRECATED` on PHP 8.1.
Diffstat (limited to 'lib/php8backports.php')
0 files changed, 0 insertions, 0 deletions