Compare commits
2 Commits
74ea50b7e4
...
62b3e2798f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62b3e2798f | ||
|
|
bfeac736ea |
@@ -275,6 +275,11 @@ class TopicNas extends Common
|
||||
$article_categorys_two[$vv->pid][] = $vv;
|
||||
}
|
||||
}
|
||||
if ( !empty($article_categorys_two) ) {
|
||||
foreach ($article_categorys_new as &$vvv) {
|
||||
$vvv['child'] = isset($article_categorys_two[$vvv->pid])?$article_categorys_two[$vvv->pid]:'';
|
||||
}
|
||||
}
|
||||
}
|
||||
dump($article_categorys_new);
|
||||
dump($article_categorys_two);exit;
|
||||
|
||||
Reference in New Issue
Block a user