more calendar fix
more calendar fix

--- a/displayCalendar.php
+++ b/displayCalendar.php
@@ -5,9 +5,9 @@
 

 

 if ($_REQUEST['month']) {

-    $monthParts = explode("-", $_REQUEST['month']);

+    $monthParts = explode("-", str_replace(Array("'","/","\\",'-'), "",$_REQUEST['month']));

     $year = $monthParts[1];

-    $month = str_replace("'", "", $monthParts[0]);

+    $month = $monthParts[0];

     $monthName = date("F Y",  mktime(0,0,0,$month,1,$year));

             

     include_header($monthName);