diff --git a/www/pages/greffescmd.php b/www/pages/greffescmd.php
index 501df1ec9..93af3059d 100644
--- a/www/pages/greffescmd.php
+++ b/www/pages/greffescmd.php
@@ -69,10 +69,10 @@ if(!empty($num) || !empty($siren))
?>
G=$commande->idCommande?> |
- =$commande->siren?> |
+ =$commande->siren?> |
=$commande->emailCommande?> |
=$commande->refDocument?> |
- =$typeActes['a'.substr($commande->refDocument, 0, 2)]?> |
+ =(array_key_exists('a'.substr($commande->refDocument, 0, 2), $typeActes)) ? $typeActes['a'.substr($commande->refDocument, 0, 2)] : ''; ?> |
=$commande->libDocument?> |
=$commande->dateCommande?> |
=$commande->dateReception?> |