From 4bb0a732cc0a3c2f5aacfb16322b91b337d6fba7 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sat, 8 May 2004 18:56:45 +0000 Subject: [PATCH] got rid of undefined variables warnings --- course/edit.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 @@ -

:

+