Authored by 梁志锋

Merge remote-tracking branch 'remotes/origin/develop/wap' into stable/wap

@@ -64,6 +64,10 @@ class ClassModel @@ -64,6 +64,10 @@ class ClassModel
64 'gender' => $genderArr[$k]), 'list') 64 'gender' => $genderArr[$k]), 'list')
65 ); 65 );
66 66
  67 + if(!isset($val['sub'])) {
  68 + continue;
  69 + }
  70 +
67 $subitem = array(); 71 $subitem = array();
68 foreach ($val['sub'] as $value) { 72 foreach ($val['sub'] as $value) {
69 $subitem = array(); 73 $subitem = array();