]> git.mjollnir.org Git - moodle.git/commitdiff
got rid of undefined variables warnings
authorgustav_delius <gustav_delius>
Sat, 8 May 2004 18:56:45 +0000 (18:56 +0000)
committergustav_delius <gustav_delius>
Sat, 8 May 2004 18:56:45 +0000 (18:56 +0000)
course/edit.html

index 3e05b664769dda2a37a77f57a5ddd95ff3c47856..1abb97b5eaa0c84c5eb0fc2542b7f2aa85be8243 100644 (file)
@@ -6,6 +6,12 @@
     if (!isset($form->maxbytes)) {
         $form->maxbytes = 0;
     }
+    if (!isset($form->hiddensections)) {
+        $form->hiddensections = 0;
+    }
+    if (!isset($form->lang)) {
+        $form->lang = '';
+    }
 ?>
 <FORM METHOD="post" action="edit.php" NAME="form">
 <table cellpadding=9 cellspacing=0 >
 </tr>
 <tr valign=top>
     <td align="right"><P><?php  print_string("forcelanguage") ?>:</td>
-       <td>
+  <td>
     <?php
         $languages[''] = get_string("forceno");
         $languages += get_list_of_languages();