Fix Bug 708
This commit is contained in:
parent
8a72ff8fc2
commit
ddf27b2c67
@ -185,7 +185,7 @@ if ($action == 'add_action')
|
|||||||
if (! empty($conf->phenix->enabled) && GETPOST('add_phenix') == 'on') $actioncomm->use_phenix=1;
|
if (! empty($conf->phenix->enabled) && GETPOST('add_phenix') == 'on') $actioncomm->use_phenix=1;
|
||||||
|
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if ($actioncomm->type_code == 'AC_RDV' && ($datep == '' || $datef == ''))
|
if ($actioncomm->type_code == 'AC_RDV' && ($datep == '' || ($datef == '' && empty($fulldayevent))))
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
$action = 'create';
|
$action = 'create';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user