fix bug
This commit is contained in:
@@ -81,7 +81,7 @@ class Article
|
||||
$info = Db::name('app_article')->where("id",$article_id)->find();
|
||||
if(empty($info)) return show("找不到该动态信息!");
|
||||
if(!empty($info['imgs'])) {
|
||||
$info['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], imgs['imgs']), true);
|
||||
$info['imgs'] = json_decode(str_replace(['{', '}'], ['[', ']'], $info['imgs']), true);
|
||||
}
|
||||
$info['other_list'] = [];
|
||||
$lists = Db::name('app_article')
|
||||
|
||||
Reference in New Issue
Block a user