From 529950767485b16fb865b392182ff60561d5907f Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Mon, 11 Jul 2011 01:23:20 +0200 Subject: [PATCH] MDL-28048 glossary - fix double ampersand & missing string --- mod/glossary/editcategories.php | 4 ++-- mod/glossary/lang/en/glossary.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/glossary/editcategories.php b/mod/glossary/editcategories.php index 3a78f5c09484a..43e63400a48eb 100644 --- a/mod/glossary/editcategories.php +++ b/mod/glossary/editcategories.php @@ -166,10 +166,10 @@ echo "

" . get_string("add"). " " . get_string("category","glossary"). "

"; echo $OUTPUT->box_start('generalbox boxaligncenter errorboxcontent boxwidthnarrow'); - echo "
" . get_string("duplicatedcategory","glossary") ."
"; + echo "
" . get_string("duplicatecategory","glossary") ."
"; echo $OUTPUT->box_end(); - redirect("editcategories.php?id=$cm->id&action=add&&name=$name"); + redirect("editcategories.php?id=$cm->id&action=add&name=$name"); } else { $action = ""; diff --git a/mod/glossary/lang/en/glossary.php b/mod/glossary/lang/en/glossary.php index bfca244221859..535f758dc7720 100644 --- a/mod/glossary/lang/en/glossary.php +++ b/mod/glossary/lang/en/glossary.php @@ -123,6 +123,7 @@ $string['displayformatfullwithoutauthor'] = 'Full without author'; $string['displayformats'] = 'Display formats'; $string['displayformatssetup'] = 'Display formats setup'; +$string['duplicatecategory'] = 'Duplicate category'; $string['duplicateentry'] = 'Duplicate entry'; $string['editalways'] = 'Edit always'; $string['editalways_help'] = 'This setting specifies whether entries are always editable or whether students can only edit their entries during a configured editing time (usually 30 minutes).';