diff options
author | David Edler <[email protected]> | 2021-11-30 21:50:09 +0100 |
---|---|---|
committer | David Edler <[email protected]> | 2021-11-30 21:50:09 +0100 |
commit | 14027ae04e4aee6cf1c3a4ff9a390ec266c0fb09 (patch) | |
tree | ded384a94570efb607e98a64bacab63f6b24ad39 /classes/feeditem | |
parent | df7b2e79849419fcc278c0549fdf10c094991558 (diff) |
various fixes vor php 8.1 compatibility
Diffstat (limited to 'classes/feeditem')
-rwxr-xr-x | classes/feeditem/atom.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeditem/atom.php b/classes/feeditem/atom.php index 36a2e91f5..cac6d8c54 100755 --- a/classes/feeditem/atom.php +++ b/classes/feeditem/atom.php @@ -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)) { |