Skip to content
Snippets Groups Projects
Commit c7a41ca3 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #18668 fix test failure

parent 91748e2a
Branches
Tags
3 merge requests!896Master,!850Master,!833Hotline #18668 wkipedia api
......@@ -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();
......
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