1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:55:56 +00:00

various fixes vor php 8.1 compatibility

This commit is contained in:
David Edler
2021-11-30 21:50:09 +01:00
parent df7b2e7984
commit 14027ae04e
9 changed files with 34 additions and 26 deletions

View File

@@ -201,7 +201,7 @@ class FeedParser {
// libxml may have invalid unicode data in error messages
function error() : string {
return UConverter::transcode($this->error, 'UTF-8', 'UTF-8');
return UConverter::transcode($this->error ?? '', 'UTF-8', 'UTF-8');
}
/** @return array<string> - WARNING: may return invalid unicode data */