Merge branch 'ticket-philea2'

This commit is contained in:
Marion Muszynski 2016-10-28 12:09:00 +02:00
commit 48b8737e46

View File

@ -38,7 +38,8 @@ if(is_object($iterator) && count($iterator)) {
$result = array();
foreach($xml->Listing->Message as $message) {
$result[] = ((string) $message['bloquant'] == 'False'? '<span>[W]': '<span style="color:red;">[E]').' '.(string) $message['codeArticle'].' : </span>'.(string) $message;
//$result[] = ((string) $message['bloquant'] == 'False'? '<span>[W]': '<span style="color:red;">[E]').' '.(string) $message['codeArticle'].' : </span>'.(string) $message;
$result[] = ((string) $message['bloquant'] == 'False'? '': '<span style="color:red;">[E]').' '.(string) $message['codeArticle'].' : </span>'.(string) $message;
}
$result = nl2br(implode("\n", $result));