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

Merge branch 'stable' into origin-hotline-master

parents 2bb7b22e 4632a33b
Branches
Tags
1 merge request!1132Hotline#29412 images des articles dans le resultat de recherche
......@@ -36,7 +36,8 @@ trait Trait_HasManyDomaines {
public function getDomaines() {
return empty($domains = $this->getDomaineIdsAsArray())
$domains = $this->getDomaineIdsAsArray();
return empty($domains)
? []
: Class_Catalogue::findAllBy(['id_catalogue' => $domains]);
}
......
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