BUG Rrg date nulle
This commit is contained in:
parent
bdb51766ab
commit
4468ca343b
@ -61,9 +61,9 @@ class Entreprise extends Scores_Ws_Server
|
|||||||
} elseif ( $evaluation['DateCreaEn'] > 0 ) {
|
} elseif ( $evaluation['DateCreaEn'] > 0 ) {
|
||||||
$DateCreaEn = $evaluation['DateCreaEn'];
|
$DateCreaEn = $evaluation['DateCreaEn'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- Correction pour l'envoi des dates
|
// --- Correction pour l'envoi des dates
|
||||||
if ( !empty($DateCreaEn) ) {
|
if ( !empty($DateCreaEn) ) {
|
||||||
|
$Infos->DateCreaEn = $DateCreaEn;
|
||||||
if (strlen($DateCreaEn)<8) {
|
if (strlen($DateCreaEn)<8) {
|
||||||
$Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT);
|
$Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user