rss_reader위젯에서 item의 key가 2개 이상 중복되는 경우 배열을 문자열로 변환하도록 하여 값을 제대로 얻지 못하는 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4357 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-07-14 08:42:52 +00:00
parent ebbaf54a3d
commit 88ed871193

View file

@ -68,9 +68,10 @@
foreach ($items as $key => $value) {
if($key >= $PAGE_LIMIT) break;
unset($item);
foreach($value as $key2 => $value2) {
if(is_array($value2)) $value2 = array_shift($value2);
$item->{$key2} = $value2->body;
}