From: skodak Date: Fri, 17 Apr 2009 08:55:22 +0000 (+0000) Subject: MDL-16075 adding support for embedded Glossary images; fixed typo - thanks MD X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b659135b446c5f3f988328c06c61df2b2d84dfa9;p=moodle.git MDL-16075 adding support for embedded Glossary images; fixed typo - thanks MD --- diff --git a/mod/glossary/edit.php b/mod/glossary/edit.php index ae3b554d79..28c70c70fd 100644 --- a/mod/glossary/edit.php +++ b/mod/glossary/edit.php @@ -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);