diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 37b01f22f49..79500a94fd0 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -185,7 +185,7 @@ if ($action == 'add_action') if (! empty($conf->phenix->enabled) && GETPOST('add_phenix') == 'on') $actioncomm->use_phenix=1; // Check parameters - if ($actioncomm->type_code == 'AC_RDV' && ($datep == '' || $datef == '')) + if ($actioncomm->type_code == 'AC_RDV' && ($datep == '' || ($datef == '' && empty($fulldayevent)))) { $error++; $action = 'create'; @@ -561,7 +561,7 @@ if ($action == 'create') } else { print $form->select_company('','socid','',1,1); } - + } print '';