ZxcZxc123 2 éve
szülő
commit
8b890d1e00
1 módosított fájl, 0 hozzáadás és 1 törlés
  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();
             }
         }