mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-8270, fixing a warning
This commit is contained in:
parent
36c6f4f59e
commit
cecac3b37c
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ echo '<p>Updating config for block ', $instance->id, '.</p>';
|
||||||
if ($oldid) {
|
if ($oldid) {
|
||||||
backup_putid ($restore->backup_unique_code,"block_instance",$oldid,$instance->id);
|
backup_putid ($restore->backup_unique_code,"block_instance",$oldid,$instance->id);
|
||||||
}
|
}
|
||||||
$restore->blockinstanceids[] = $newid;
|
$restore->blockinstanceids[] = $instance->id;
|
||||||
} else {
|
} else {
|
||||||
$status = false;
|
$status = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue