restore original code (#30671)

* restore original code

* Update datepicker.php

* Update datepicker.php
This commit is contained in:
Frédéric FRANCE 2024-08-20 03:24:52 +02:00 committed by GitHub
parent 99bcf84a31
commit 01540dca3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,7 @@ if (isset($_GET["m"]) && isset($_GET["y"])) {
// If parameters provided, we show calendar
if ($qualified) {
displayBox(GETPOSTINT("sd"), GETPOSTINT("m"), GETPOSTINT("y"));
displayBox(GETPOST("sd", 'alpha'), GETPOSTINT("m"), GETPOSTINT("y"));
} else {
dol_print_error(null, 'ErrorBadParameters');
}
@ -152,7 +152,7 @@ function xyzToUnixTimestamp($mysqldate)
/**
* Show box
*
* @param string $selectedDate Date YYYMMDD
* @param string $selectedDate Date YYYYMMDD
* @param int $month Month
* @param int $year Year
* @return void