diff --git a/mod/resource/details.php b/mod/resource/details.php index b6f41a310ac..092ba55265e 100644 --- a/mod/resource/details.php +++ b/mod/resource/details.php @@ -29,6 +29,10 @@ error(get_string("filloutallfields"), $_SERVER["HTTP_REFERER"]); } + if ($form->instance) { + $form->alltext = get_field("resource", "alltext", "id", "$form->instance"); + } + print_simple_box_start("center", "", "$THEME->cellheading"); if ($usehtmleditor and $form->type == HTML) { diff --git a/mod/resource/mod.html b/mod/resource/mod.html index 6b730b18537..792e56718e9 100644 --- a/mod/resource/mod.html +++ b/mod/resource/mod.html @@ -55,7 +55,6 @@
-