]> git.mjollnir.org Git - moodle.git/commitdiff
change value of PARAM_RAW from 0 to 666, becasue we need to detect incorrect param...
authorskodak <skodak>
Tue, 7 Mar 2006 19:20:23 +0000 (19:20 +0000)
committerskodak <skodak>
Tue, 7 Mar 2006 19:20:23 +0000 (19:20 +0000)
This might break faulty code...

lib/moodlelib.php

index 1124f1687d75523bb39be230b286fe73131f73e3..b12d3b8333d4c37fcd520b9a311aaf2ed6f9e24e 100644 (file)
@@ -93,9 +93,11 @@ define('HOURMINS', 60);
 /// or clean_param() should have a specified type of parameter.  //////////////
 
 /**
- * PARAM_RAW specifies a parameter that is not cleaned/processed in any way.
+ * PARAM_RAW specifies a parameter that is not cleaned/processed in any way;
+ * originally was 0, but changed because we need to detect unknown
+ * parameter types and swiched order in clean_param().
  */
-define('PARAM_RAW',      0x0000);
+define('PARAM_RAW', 666);
 
 /**
  * PARAM_CLEAN - obsoleted, please try to use more specific type of parameter.