From: stronk7 Date: Thu, 20 May 2004 19:04:42 +0000 (+0000) Subject: Avoid some notices in edit page (debug=on) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e84ce5c8cabcd97a7b6deb841fe0e16f9f0973b4;p=moodle.git Avoid some notices in edit page (debug=on) :-) --- diff --git a/mod/scorm/mod.html b/mod/scorm/mod.html index 521a97be9e..07f2ef093f 100755 --- a/mod/scorm/mod.html +++ b/mod/scorm/mod.html @@ -2,11 +2,14 @@ if (empty($form->name)) { $form->name = ""; } + if (empty($form->reference)) { + $form->reference = ""; + } if (empty($form->summary)) { $form->summary = ""; } - if (empty($form->alltext)) { - $form->alltext = ""; + if (empty($form->auto)) { + $form->auto = ""; } ?> @@ -76,4 +79,4 @@
">
- \ No newline at end of file +