Merge remote-tracking branch 'remotes/origin/develop/wap' into stable/wap
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -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(); |
-
Please register or login to post a comment