From b659135b446c5f3f988328c06c61df2b2d84dfa9 Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 17 Apr 2009 08:55:22 +0000 Subject: [PATCH] MDL-16075 adding support for embedded Glossary images; fixed typo - thanks MD --- mod/glossary/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5