diff --git a/application/Bootstrap.php b/application/Bootstrap.php index 49962c32..f883642a 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -210,7 +210,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap } else { $level = Logger::NOTICE; } - $log->pushHandler(new StreamHandler($logFile), $level); + $log->pushHandler(new StreamHandler($logFile, $level)); $log->pushProcessor(new IntrospectionProcessor()); Zend_Registry::set('logger', $log); diff --git a/library/WsScore/Clients/Rrg/v0.1/Service.php b/library/WsScore/Clients/Rrg/v0.1/Service.php index 400216d9..a19637d0 100644 --- a/library/WsScore/Clients/Rrg/v0.1/Service.php +++ b/library/WsScore/Clients/Rrg/v0.1/Service.php @@ -64,7 +64,7 @@ class Entreprise extends Scores_Ws_Server // --- Correction pour l'envoi des dates if ( !empty($DateCreaEn) ) { $Infos->DateCreaEn = $DateCreaEn; - if (strlen($DateCreaEn)<8) { + if (strlen($DateCreaEn) < 8) { $Infos->DateCreaEn = str_pad($DateCreaEn, 8, '0', STR_PAD_RIGHT); } if (substr($DateCreaEn, -2) * 1 == 0) {