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