Fixing defaults (copy/paste error) -- this printed notices with debug=on and

actually mangled the "create lesson instance" query so badly that you could
not add lessons!
This commit is contained in:
defacer
2005-11-23 22:11:50 +00:00
parent 001996c2f2
commit 3d6fc45229
+3 -3
View File
@@ -108,13 +108,13 @@ if ($form->mode == "add") {
$form->mediafile = '';
}
if (!isset($form->mediaheight)) {
$form->mediafile = 100;
$form->mediaheight = 100;
}
if (!isset($form->mediawidth)) {
$form->mediafile = 650;
$form->mediawidth = 650;
}
if (!isset($form->mediaclose)) {
$form->mediafile = 0;
$form->mediaclose = 0;
}
if (!isset($form->dependency)) {
$form->dependency = 0;