Fix scrutinizer
This commit is contained in:
parent
796274ad65
commit
4fb3a2e296
@ -538,7 +538,7 @@ if (empty($reshook) && $action == 'add') {
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
// End date
|
// End date
|
||||||
$repeateventlimitdate = dol_mktime('23', '59', '59', GETPOSTISSET("limitmonth", 'int') ? GETPOST("limitmonth", 'int') : 01, GETPOSTISSET("limitday", 'int') ? GETPOST("limitday", 'int') : 01, GETPOSTISSET("limityear", 'int') && GETPOST("limityear", 'int') < 2100 ? GETPOST("limityear", 'int') : 2100, $tzforfullday ? $tzforfullday : 'tzuser');
|
$repeateventlimitdate = dol_mktime('23', '59', '59', GETPOSTISSET("limitmonth") ? GETPOST("limitmonth", 'int') : 01, GETPOSTISSET("limitday", 'int') ? GETPOST("limitday", 'int') : 01, GETPOSTISSET("limityear", 'int') && GETPOST("limityear", 'int') < 2100 ? GETPOST("limityear", 'int') : 2100, $tzforfullday ? $tzforfullday : 'tzuser');
|
||||||
// Set date of end of event
|
// Set date of end of event
|
||||||
$deltatime = num_between_day($object->datep, $datep);
|
$deltatime = num_between_day($object->datep, $datep);
|
||||||
$datef = dol_time_plus_duree($datef, $deltatime, 'd');
|
$datef = dol_time_plus_duree($datef, $deltatime, 'd');
|
||||||
|
|||||||
@ -104,7 +104,7 @@ class mod_recruitmentcandidature_advanced extends ModeleNumRefRecruitmentCandida
|
|||||||
$old_code_type = $mysoc->typent_code;
|
$old_code_type = $mysoc->typent_code;
|
||||||
$mysoc->code_client = 'CCCCCCCCCC';
|
$mysoc->code_client = 'CCCCCCCCCC';
|
||||||
$mysoc->typent_code = 'TTTTTTTTTT';
|
$mysoc->typent_code = 'TTTTTTTTTT';
|
||||||
$numExample = $this->getNextValue($mysoc, '');
|
$numExample = $this->getNextValue($mysoc);
|
||||||
$mysoc->code_client = $old_code_client;
|
$mysoc->code_client = $old_code_client;
|
||||||
$mysoc->typent_code = $old_code_type;
|
$mysoc->typent_code = $old_code_type;
|
||||||
|
|
||||||
|
|||||||
@ -104,7 +104,7 @@ class mod_recruitmentjobposition_advanced extends ModeleNumRefRecruitmentJobPosi
|
|||||||
$old_code_type = $mysoc->typent_code;
|
$old_code_type = $mysoc->typent_code;
|
||||||
$mysoc->code_client = 'CCCCCCCCCC';
|
$mysoc->code_client = 'CCCCCCCCCC';
|
||||||
$mysoc->typent_code = 'TTTTTTTTTT';
|
$mysoc->typent_code = 'TTTTTTTTTT';
|
||||||
$numExample = $this->getNextValue($mysoc, '');
|
$numExample = $this->getNextValue($mysoc);
|
||||||
$mysoc->code_client = $old_code_client;
|
$mysoc->code_client = $old_code_client;
|
||||||
$mysoc->typent_code = $old_code_type;
|
$mysoc->typent_code = $old_code_type;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user