From: gustav_delius Date: Sat, 8 May 2004 18:56:45 +0000 (+0000) Subject: got rid of undefined variables warnings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4bb0a732cc0a3c2f5aacfb16322b91b337d6fba7;p=moodle.git got rid of undefined variables warnings --- diff --git a/course/edit.html b/course/edit.html index 3e05b66476..1abb97b5ea 100644 --- a/course/edit.html +++ b/course/edit.html @@ -6,6 +6,12 @@ if (!isset($form->maxbytes)) { $form->maxbytes = 0; } + if (!isset($form->hiddensections)) { + $form->hiddensections = 0; + } + if (!isset($form->lang)) { + $form->lang = ''; + } ?>
@@ -206,7 +212,7 @@ -

:

+