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
1 changed files with 1 additions and 1 deletions

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];