aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-02 02:35:33 +0000
committerjwangen <jwangen>2002-10-02 02:35:33 +0000
commitc4c389ff735a71c66c902aa115a3ee9240293ac3 (patch)
tree5e43be53ae29fecfc5ac68de2180fcec5b55188a /day.php
parent1c834d42efd75524233e1f6517e3a1cb06f6dfde (diff)
downloadphpicalendar-c4c389ff735a71c66c902aa115a3ee9240293ac3.tar.gz
phpicalendar-c4c389ff735a71c66c902aa115a3ee9240293ac3.tar.bz2
phpicalendar-c4c389ff735a71c66c902aa115a3ee9240293ac3.zip
Modified init and day to use $HTTP_GET_VARS instead of $_GET to fix a bug with phpicalendar not working with older versions of PHP properly.
Diffstat (limited to 'day.php')
-rw-r--r--day.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/day.php b/day.php
index 0a78b94..e312bc2 100644
--- a/day.php
+++ b/day.php
@@ -1,6 +1,6 @@
<?php
-if (isset($_GET["jumpto_day"])) {
- $jumpto_day_time = strtotime($_GET["jumpto_day"]);
+if (isset($HTTP_GET_VARS["jumpto_day"])) {
+ $jumpto_day_time = strtotime($HTTP_GET_VARS["jumpto_day"]);
if ($jumpto_day_time == -1) {
$getdate = date("Ymd");
} else {

© 2014-2024 Faster IT GmbH | imprint | privacy policy