fix bug
This commit is contained in:
@@ -94,6 +94,7 @@ class Article
|
|||||||
foreach($lists as $vo){
|
foreach($lists as $vo){
|
||||||
if(!empty($vo['imgs'])) {
|
if(!empty($vo['imgs'])) {
|
||||||
$vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true);
|
$vo['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $vo['imgs']), true);
|
||||||
|
$vo['imgs']= $vo['imgs'][0];
|
||||||
}
|
}
|
||||||
$info['other_list'][] = $vo;
|
$info['other_list'][] = $vo;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user