Skip to content
Snippets Groups Projects
Commit 89a2785a authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

Fix #27657 tests

parent c6595e22
Branches
Tags
3 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1046Master,!1045Hotline master
......@@ -67,6 +67,9 @@ class ZendAfi_View_Helper_ListeNotices_Tableau extends ZendAfi_View_Helper_Liste
if (is_array($value) && array_key_exists('libelle',$value))
$value = $value['libelle'];
if (is_object($value))
$value = $value->renderOn($this->view);
if($champ == "N") $align='style="text-align:center"'; else $align="";
$html.='<td class="'. $style_css .'" '.$align.'>'.$value.'</td>';
}
......
......@@ -112,6 +112,9 @@ class ZendAfi_View_Helper_Telephone_ListeNotices extends ZendAfi_View_Helper_Bas
if (is_array($value))
$value = $value[0];
if (is_object($value))
$value = $value->renderOn($this->view);
$html .= BR . Class_Codification::getInstance()->getNomChamp($champ) . ' : ' . $value;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment