mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:45:56 +00:00
Revert "various fixes vor php 8.1 compatibility"
This reverts commit 14027ae04e.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user