Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Component/s: Database activity module
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
When restoring a backup course that includes a database module I see the following error.
Notice: Undefined index: RATINGS in C:\projects\VLE\Mobile Moodle\environments\xampplite-win32-1.6.6.exe\development\offlinemoodle-0.4\htdocs\moodle\mod\data\restorelib.php on line 380
Notice: Undefined index: COMMENTS in C:\projects\VLE\Mobile Moodle\environments\xampplite-win32-1.6.6.exe\development\offlinemoodle-0.4\htdocs\moodle\mod\data\restorelib.php on line 406
I have the developer debug options enabled. I don't believe this shows up otherwise.
Should a simple fix in each case. Just needs a check to see if the parameter exists before using it's children
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Notices are out now. They weren't causing any problem but better to avoid them. Thanks for the report. Ciao