[skip-ci] improvements

This commit is contained in:
Matteo Gheza 2021-06-17 11:17:01 +02:00
parent aae39c157b
commit 525ea01b6f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if(!empty($result)){
$result[0]["holidays"] = json_decode($result[0]["holidays"]);
}
if(isset($_POST["hours"])){
if(isset($_POST["hours"]) && isset($_POST["holidays"])){
$hours = (string) json_encode($_POST["hours"]);
$holidays = (string) json_encode($_POST["holidays"]);
echo($hours."-".$holidays);