Coding Style

This commit is contained in:
Michael RICOIS 2017-04-13 12:23:45 +02:00
parent 4cd7f19ce1
commit c55de7cc2f

View File

@ -64,7 +64,7 @@ class Entreprise extends Scores_Ws_Server
// --- Correction pour l'envoi des dates // --- Correction pour l'envoi des dates
if ( !empty($DateCreaEn) ) { if ( !empty($DateCreaEn) ) {
$Infos->DateCreaEn = $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);
} }
if (substr($DateCreaEn, -2) * 1 == 0) { if (substr($DateCreaEn, -2) * 1 == 0) {