1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

fix warning when entry content is used as array unnecessarily

This commit is contained in:
Andrew Dolgov 2012-05-17 14:56:36 +04:00
parent 5be0ba92dd
commit eb38af4ee4

View File

@ -672,7 +672,7 @@
$entry_content = $item["content:escaped"];
if (!$entry_content) $entry_content = $item["content:encoded"];
if (!$entry_content) $entry_content = $item["content"]["encoded"];
if (!$entry_content && is_array($entry_content)) $entry_content = $item["content"]["encoded"];
if (!$entry_content) $entry_content = $item["content"];
if (is_array($entry_content)) $entry_content = $entry_content[0];