Browse Source

修改代码

fuyu 6 years ago
parent
commit
4b3f8d2e33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/inter/controller/Writereport.php

+ 1 - 1
application/inter/controller/Writereport.php

@@ -341,7 +341,7 @@ class Writereport extends Base
         }
         $data = array();
         foreach ($t as $k => $v) {
-            if($v['parent_id']){
+            if($v['parent_id'] == '0'){
                 $data[] = $v;
             }
         }