MDL-16075 adding support for embedded Glossary images; fixed typo - thanks MD

This commit is contained in:
skodak
2009-04-17 08:55:22 +00:00
parent 8b1c7bc46a
commit b659135b44
+1 -1
View File
@@ -69,7 +69,7 @@ $entry->entry = array('text'=>$currenttext, 'format'=>$entry->format, 'itemid'=>
$draftitemid = file_get_submitted_draft_itemid('attachments');
file_prepare_draft_area($draftitemid, $context->id, 'glossary_attachment', $entry->id , false);
$entry->attachements = $draftitemid;
$entry->attachments = $draftitemid;
// set form initial data
$mform->set_data($entry);