From 28462f455d8d7d88bda12ac2943fe6290b93100d Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@afi-sa.fr> Date: Fri, 31 Jul 2015 15:45:56 +0200 Subject: [PATCH] hotline #11784 type doc test fix --- library/ZendAfi/View/Helper/ListeNotices/Tableau.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/ZendAfi/View/Helper/ListeNotices/Tableau.php b/library/ZendAfi/View/Helper/ListeNotices/Tableau.php index c68034583f4..d006216c35e 100644 --- a/library/ZendAfi/View/Helper/ListeNotices/Tableau.php +++ b/library/ZendAfi/View/Helper/ListeNotices/Tableau.php @@ -64,6 +64,9 @@ class ZendAfi_View_Helper_ListeNotices_Tableau extends ZendAfi_View_Helper_Liste if (is_array($value)) $value = $value[0]; + if (is_array($value)) + $value = $value['libelle']; + if($champ == "N") $align='style="text-align:center"'; else $align=""; $html.='<td class="'. $style_css .'" '.$align.'>'.$value.'</td>'; } -- GitLab