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

hotline_#16652_search_with_bib_filter dont display zone if empty

parent b59caadb
Branches
Tags
4 merge requests!529Hotline 6.56,!519Master,!518Hotline 6.55,!507Hotline #16652 search with bib filter
......@@ -114,9 +114,11 @@ class BibLoader extends Storm_Model_Loader {
$selected_zones = [];
$select_bibs_not_in_zone = [];
foreach($bibs_by_zones as $id => $bibs) {
if(!$ids)
if(!$ids || !$bibs)
continue;
$bibs_ids = [];
foreach($bibs as $bib)
$bibs_ids[] = $bib->getId();
......
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