Merge pull request #27839 from thibdrev/patch-8

qual: phpstan for htdocs/holiday/card_group.php
This commit is contained in:
Laurent Destailleur 2024-01-29 02:01:24 +01:00 committed by GitHub
commit 6313c57ea1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,7 +173,7 @@ if (empty($reshook)) {
$date_fin_gmt = dol_mktime(0, 0, 0, GETPOST('date_fin_month'), GETPOST('date_fin_day'), GETPOST('date_fin_year'), 1);
$starthalfday = GETPOST('starthalfday');
$endhalfday = GETPOST('endhalfday');
$type = GETPOST('type');
$type = GETPOSTINT('type');
$halfday = 0;
if ($starthalfday == 'afternoon' && $endhalfday == 'morning') {