diff --git a/library/ZendAfi/View/Helper/Biographie.php b/library/ZendAfi/View/Helper/Biographie.php index 58378c2718818fbd622b6f644cc11f3f2a47f54d..cb92153d53888ca9aef9c6644d5bdcbe7a298941 100644 --- a/library/ZendAfi/View/Helper/Biographie.php +++ b/library/ZendAfi/View/Helper/Biographie.php @@ -63,7 +63,7 @@ class ZendAfi_View_Helper_Biographie extends Zend_View_Helper_HtmlElement { $source = $this->view->tag('p', $this->view->_('Source'). ' : ' . $data['source']); $biographie = $data['biographie']; - if(preg_match("/<[^<]+>/", $biographie) != 0) + if(!is_array($biographie) && preg_match("/<[^<]+>/", $biographie) != 0) return $source . $biographie; $auteur = $notice->getAuteurPrincipal();