]> git.mjollnir.org Git - moodle.git/commitdiff
Avoid some notices in edit page (debug=on)
authorstronk7 <stronk7>
Thu, 20 May 2004 19:04:42 +0000 (19:04 +0000)
committerstronk7 <stronk7>
Thu, 20 May 2004 19:04:42 +0000 (19:04 +0000)
:-)

mod/scorm/mod.html

index 521a97be9e4137c14265362cf27cc70cc80e28c7..07f2ef093fe8895acafed0d79e964d36e948c4db 100755 (executable)
@@ -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 @@
     <center>
        <input type="submit" value="<?php print_string("continue") ?>">
     </center>
-</form>
\ No newline at end of file
+</form>