mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fix restore notice. Merged from MOODLE_16_STABLE.
This commit is contained in:
parent
f92cf442db
commit
ff1b2fadbe
1 changed files with 5 additions and 1 deletions
|
@ -1267,7 +1267,11 @@
|
|||
$itemid = insert_record('grade_item',$item);
|
||||
|
||||
//Now process grade_exceptions
|
||||
if (!empty($ite_info['#']['GRADE_EXCEPTIONS'])) {
|
||||
$exceptions = $ite_info['#']['GRADE_EXCEPTIONS']['0']['#']['GRADE_EXCEPTION'];
|
||||
} else {
|
||||
$exceptions = array();
|
||||
}
|
||||
|
||||
//Iterate over exceptions
|
||||
for($j = 0; $j < sizeof($exceptions); $j++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue