mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
restore original code (#30671)
* restore original code * Update datepicker.php * Update datepicker.php
This commit is contained in:
parent
99bcf84a31
commit
01540dca3c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user