Skip to content
Browse files

defined PARAM_CLEAN if necessary (for mobile template on Moodle<=1.4)

  • Loading branch information...
1 parent a34f24f commit eab7bfe21542ed846a6686a0599e1d72ee0d558c gbateson committed Jan 8, 2006
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/hotpot/lib.php
1 mod/hotpot/lib.php
@@ -2172,6 +2172,7 @@ function html_entity_decode($str) {
if (!defined('PARAM_RAW')) define('PARAM_RAW', 0x0000);
+if (!defined('PARAM_CLEAN')) define('PARAM_CLEAN', 0x0001);
if (!defined('PARAM_INT')) define('PARAM_INT', 0x0002);
if (!defined('PARAM_ALPHA')) define('PARAM_ALPHA', 0x0004);
if (!defined('PARAM_ALPHANUM')) define('PARAM_ALPHANUM', 0x0400);

0 comments on commit eab7bfe

Please sign in to comment.
Something went wrong with that request. Please try again.