This commit is contained in:
frederik
2024-04-09 17:10:47 +02:00
parent 3844f7da83
commit b0fcf9551e
+1 -1
View File
@@ -379,7 +379,7 @@ window.onbeforeunload = function(event) {
}
function getTheDate(increment) {
var theDate = "<?php echo $theDate;?>";
var theDate = "<?php if (isset($theDate)) echo $theDate;?>";
d = new Date(theDate);
d.setDate(d.getDate(theDate) + increment);