Permalink
Browse files

MDL-9073 Glossary: uncategorised entries are printable

  • Loading branch information...
1 parent 4557b47 commit 837e89e1d38468e9022816ebcc5dc6d1f642a261 @FMCorz FMCorz committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/glossary/print.php
View
2 mod/glossary/print.php
@@ -11,7 +11,7 @@
$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));

0 comments on commit 837e89e

Please sign in to comment.