mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
ebbaf54a3d
commit
88ed871193
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue