修改分类
This commit is contained in:
@@ -227,10 +227,13 @@ class TopicNas extends Common
|
||||
foreach ($article_categorys_new as &$vvv) {
|
||||
$articles = $vvv['article'];
|
||||
if ( isset($article_categorys_two[$vvv['id']]) ) {
|
||||
foreach ($article_categorys_two[$vvv['id']] as $k=>$v) {
|
||||
$articles = array_merge($articles,$v['article']);
|
||||
foreach ($article_categorys_two[$vvv['id']] as $v) {
|
||||
foreach ($v['article'] as $av) {
|
||||
if ( count($articles) < 3 ) {
|
||||
array_push($articles,$av);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
$vvv['article'] = $articles;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user