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

Merge remote-tracking branch 'refs/remotes/origin/hotline-master'

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