BUG Rrg date nulle

This commit is contained in:
Claire DELBOS 2017-04-13 11:32:17 +02:00
parent bdb51766ab
commit 4468ca343b

View File

@ -61,9 +61,9 @@ class Entreprise extends Scores_Ws_Server
} elseif ( $evaluation['DateCreaEn'] > 0 ) {
$DateCreaEn = $evaluation['DateCreaEn'];
}
// --- Correction pour l'envoi des dates
if ( !empty($DateCreaEn) ) {
$Infos->DateCreaEn = $DateCreaEn;
if (strlen($DateCreaEn)<8) {
$Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT);
}