fix warning when entry content is used as array unnecessarily
This commit is contained in:
parent
5be0ba92dd
commit
eb38af4ee4
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue