Don't pass alltext from mod.html to details.php ... more efficient this way
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
</table>
|
||||
<CENTER>
|
||||
<input type="hidden" name=reference value="<? p($form->reference) ?>">
|
||||
<input type="hidden" name=alltext value="<? p($form->alltext) ?>">
|
||||
|
||||
<input type="hidden" name=course value="<? p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<? p($form->coursemodule) ?>">
|
||||
|
||||
Reference in New Issue
Block a user