Browse Source

修改代码

fuyu 6 years ago
parent
commit
44faf5e716
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'] == false){
+            if($v['parent_id'] == 0){
                 $data[] = $v;  
             }
         }