ZxcZxc123 2 years ago
parent
commit
8b890d1e00
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/model/api/EducationModel.php

+ 0 - 1
app/model/api/EducationModel.php

@@ -37,7 +37,6 @@ class EducationModel extends Model
                 $items [$item ['pid']] ['children'] [$item ['id']] = &$items [$item ['id']];
             } else {
                 $tree [$item ['id']] = &$items [$item ['id']];
-                $tree [$item ['id']] ['children'] = array();
             }
         }