]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16075 adding support for embedded Glossary images; fixed typo - thanks MD
authorskodak <skodak>
Fri, 17 Apr 2009 08:55:22 +0000 (08:55 +0000)
committerskodak <skodak>
Fri, 17 Apr 2009 08:55:22 +0000 (08:55 +0000)
mod/glossary/edit.php

index ae3b554d7907325ee6450b57a3ab49ac922f7831..28c70c70fd48435376024159b4c3d6ea911069d1 100644 (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);