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:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user