From 837e89e1d38468e9022816ebcc5dc6d1f642a261 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 17 May 2012 16:46:54 +0800 Subject: [PATCH] MDL-9073 Glossary: uncategorised entries are printable --- mod/glossary/print.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/glossary/print.php b/mod/glossary/print.php index 45e17a01155..c7d75e827a1 100644 --- a/mod/glossary/print.php +++ b/mod/glossary/print.php @@ -11,7 +11,7 @@ $offset = optional_param('offset', 0, PARAM_INT); // number $displayformat = optional_param('displayformat',-1, PARAM_INT); $mode = required_param('mode', PARAM_ALPHA); // mode to show the entries -$hook = optional_param('hook','ALL', PARAM_ALPHANUM); // what to show +$hook = optional_param('hook','ALL', PARAM_CLEAN); // what to show $sortkey = optional_param('sortkey','UPDATE', PARAM_ALPHA); // Sorting key $url = new moodle_url('/mod/glossary/print.php', array('id'=>$id));