diff options
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 4b2e2bc3d..6643dc757 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -165,7 +165,7 @@ function html_only_entity_decode($text) { get_html_translation_table(HTML_SPECIALCHARS, ENT_NOQUOTES, 'UTF-8') //Preserve XML entities )); } - return strtr($text, $htmlEntitiesOnly); + return $text == '' ? '' : strtr($text, $htmlEntitiesOnly); } function customSimplePie($attributes = array()) { |
