dever 4 years ago
parent
commit
5717845069
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/collection/src/Api.php

+ 1 - 1
app/collection/src/Api.php

@@ -477,7 +477,7 @@ class Api extends Core
             
             $data['show'] = array();
             foreach ($data['cate'] as $k => $v) {
-                if ($v['id'] == $parent_page_id) {
+                if ($v['id'] == $page_id) {
                     $data['show'][$v['id']] = 1;
                 } else {
                     $data['show'][$v['id']] = 2;