1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25: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

@@ -70,7 +70,7 @@ class FeedItem_Atom extends FeedItem_Common {
*
* @return string the rewritten XML or original $content
*/
private function rewrite_content_to_base(?string $base = null, string $content) {
private function rewrite_content_to_base(?string $base = null, ?string $content = '') {
if (!empty($base) && !empty($content)) {