| @@ 314-330 (lines=17) @@ | ||
| 311 | $export_array_global, |
|
| 312 | $result['export_array_global'] |
|
| 313 | ); |
|
| 314 | } else { |
|
| 315 | ||
| 316 | $result = processStudentList( |
|
| 317 | $filter_score, |
|
| 318 | $global, |
|
| 319 | $exercise, |
|
| 320 | $courseInfo, |
|
| 321 | $sessionId, |
|
| 322 | $newSessionList |
|
| 323 | ); |
|
| 324 | ||
| 325 | $html .= $result['html']; |
|
| 326 | $export_array_global = array_merge( |
|
| 327 | $export_array_global, |
|
| 328 | $result['export_array_global'] |
|
| 329 | ); |
|
| 330 | } |
|
| 331 | } |
|
| 332 | } else { |
|
| 333 | // If the exercise only exists in this session. |
|
| @@ 332-349 (lines=18) @@ | ||
| 329 | ); |
|
| 330 | } |
|
| 331 | } |
|
| 332 | } else { |
|
| 333 | // If the exercise only exists in this session. |
|
| 334 | ||
| 335 | $result = processStudentList( |
|
| 336 | $filter_score, |
|
| 337 | $global, |
|
| 338 | $exercise, |
|
| 339 | $courseInfo, |
|
| 340 | $exerciseSessionId, |
|
| 341 | $newSessionList |
|
| 342 | ); |
|
| 343 | ||
| 344 | $html .= $result['html']; |
|
| 345 | $export_array_global = array_merge( |
|
| 346 | $export_array_global, |
|
| 347 | $result['export_array_global'] |
|
| 348 | ); |
|
| 349 | } |
|
| 350 | } |
|
| 351 | } else { |
|
| 352 | $html .= "<tr> |
|