mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
merged fix warnings during restore
This commit is contained in:
parent
c6d33fce5b
commit
8db6090013
@ -66,8 +66,8 @@
|
||||
$lesson->modattempts = backup_todb($info['MOD']['#']['MODATTEMPTS']['0']['#']);
|
||||
$lesson->usepassword = backup_todb($info['MOD']['#']['USEPASSWORD']['0']['#']);
|
||||
$lesson->password = backup_todb($info['MOD']['#']['PASSWORD']['0']['#']);
|
||||
$lesson->dependency = backup_todb($info['MOD']['#']['DEPENDENCY']['0']['#']);
|
||||
$lesson->conditions = backup_todb($info['MOD']['#']['CONDITIONS']['0']['#']);
|
||||
$lesson->dependency = isset($info['MOD']['#']['DEPENDENCY']['0']['#'])?backup_todb($info['MOD']['#']['DEPENDENCY']['0']['#']):'';
|
||||
$lesson->conditions = isset($info['MOD']['#']['CONDITIONS']['0']['#'])?backup_todb($info['MOD']['#']['CONDITIONS']['0']['#']):'';
|
||||
$lesson->grade = backup_todb($info['MOD']['#']['GRADE']['0']['#']);
|
||||
$lesson->custom = backup_todb($info['MOD']['#']['CUSTOM']['0']['#']);
|
||||
$lesson->ongoing = backup_todb($info['MOD']['#']['ONGOING']['0']['#']);
|
||||
@ -76,24 +76,24 @@
|
||||
$lesson->maxattempts = backup_todb($info['MOD']['#']['MAXATTEMPTS']['0']['#']);
|
||||
$lesson->review = backup_todb($info['MOD']['#']['REVIEW']['0']['#']);
|
||||
$lesson->nextpagedefault = backup_todb($info['MOD']['#']['NEXTPAGEDEFAULT']['0']['#']);
|
||||
$lesson->feedback = backup_todb($info['MOD']['#']['FEEDBACK']['0']['#']);
|
||||
$lesson->feedback = isset($info['MOD']['#']['FEEDBACK']['0']['#'])?backup_todb($info['MOD']['#']['FEEDBACK']['0']['#']):'';
|
||||
$lesson->minquestions = backup_todb($info['MOD']['#']['MINQUESTIONS']['0']['#']);
|
||||
$lesson->maxpages = backup_todb($info['MOD']['#']['MAXPAGES']['0']['#']);
|
||||
$lesson->timed = backup_todb($info['MOD']['#']['TIMED']['0']['#']);
|
||||
$lesson->maxtime = backup_todb($info['MOD']['#']['MAXTIME']['0']['#']);
|
||||
$lesson->retake = backup_todb($info['MOD']['#']['RETAKE']['0']['#']);
|
||||
$lesson->activitylink = backup_todb($info['MOD']['#']['ACTIVITYLINK']['0']['#']);
|
||||
$lesson->mediafile = backup_todb($info['MOD']['#']['MEDIAFILE']['0']['#']);
|
||||
$lesson->mediaheight = backup_todb($info['MOD']['#']['MEDIAHEIGHT']['0']['#']);
|
||||
$lesson->mediawidth = backup_todb($info['MOD']['#']['MEDIAWIDTH']['0']['#']);
|
||||
$lesson->mediaclose = backup_todb($info['MOD']['#']['MEDIACLOSE']['0']['#']);
|
||||
$lesson->activitylink = isset($info['MOD']['#']['ACTIVITYLINK']['0']['#'])?backup_todb($info['MOD']['#']['ACTIVITYLINK']['0']['#']):'';
|
||||
$lesson->mediafile = isset($info['MOD']['#']['MEDIAFILE']['0']['#'])?backup_todb($info['MOD']['#']['MEDIAFILE']['0']['#']):'';
|
||||
$lesson->mediaheight = isset($info['MOD']['#']['MEDIAHEIGHT']['0']['#'])?backup_todb($info['MOD']['#']['MEDIAHEIGHT']['0']['#']):'';
|
||||
$lesson->mediawidth = isset($info['MOD']['#']['MEDIAWIDTH']['0']['#'])?backup_todb($info['MOD']['#']['MEDIAWIDTH']['0']['#']):'';
|
||||
$lesson->mediaclose = isset($info['MOD']['#']['MEDIACLOSE']['0']['#'])?backup_todb($info['MOD']['#']['MEDIACLOSE']['0']['#']):'';
|
||||
$lesson->slideshow = backup_todb($info['MOD']['#']['SLIDESHOW']['0']['#']);
|
||||
$lesson->width = backup_todb($info['MOD']['#']['WIDTH']['0']['#']);
|
||||
$lesson->height = backup_todb($info['MOD']['#']['HEIGHT']['0']['#']);
|
||||
$lesson->bgcolor = backup_todb($info['MOD']['#']['BGCOLOR']['0']['#']);
|
||||
$lesson->displayleft = backup_todb($info['MOD']['#']['DISPLAYLEFT']['0']['#']);
|
||||
$lesson->displayleftif = backup_todb($info['MOD']['#']['DISPLAYLEFTIF']['0']['#']);
|
||||
$lesson->progressbar = backup_todb($info['MOD']['#']['PROGRESSBAR']['0']['#']);
|
||||
$lesson->displayleft = isset($info['MOD']['#']['DISPLAYLEFT']['0']['#'])?backup_todb($info['MOD']['#']['DISPLAYLEFT']['0']['#']):'';
|
||||
$lesson->displayleftif = isset($info['MOD']['#']['DISPLAYLEFTIF']['0']['#'])?backup_todb($info['MOD']['#']['DISPLAYLEFTIF']['0']['#']):'';
|
||||
$lesson->progressbar = isset($info['MOD']['#']['PROGRESSBAR']['0']['#'])?backup_todb($info['MOD']['#']['PROGRESSBAR']['0']['#']):'';
|
||||
$lesson->highscores = backup_todb($info['MOD']['#']['SHOWHIGHSCORES']['0']['#']);
|
||||
$lesson->maxhighscores = backup_todb($info['MOD']['#']['MAXHIGHSCORES']['0']['#']);
|
||||
$lesson->available = backup_todb($info['MOD']['#']['AVAILABLE']['0']['#']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user