! -> Note
$ -> Affected files
+06-Jul-2010 Janusz Dobrowolski/Micha³ Kozielski
+# Additional sql injection prevention.
+$ /includes/date_functions.inc
+
------------------------------- Release 2.2.11 ----------------------------------
! Release 2.2.11
$ config.default.php
else // $how == 2, YYYYMMDD
list($year, $month, $day) = explode($sep, $date_);
-//to modify assumption in 2030
+ // prevent potential SQL injection
+ $year = (int)$year;
+ $month = (int)$month;
+ $day = (int)$day;
+ //to modify assumption in 2030
if ($date_system == 0 || $date_system == 3)
{
if ((int)$year < 60)