mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix CS, add comment
This commit is contained in:
@@ -404,7 +404,8 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
|||||||
$BF = array();
|
$BF = array();
|
||||||
|
|
||||||
foreach ($this->options->get_business_fields() as $base_id) {
|
foreach ($this->options->get_business_fields() as $base_id) {
|
||||||
if(phrasea::sbasFromBas($base_id) === $sbas_id) {
|
// only add collections for the current databox
|
||||||
|
if ($sbas_id === phrasea::sbasFromBas($base_id)) {
|
||||||
$BF[] = phrasea::collFromBas($base_id);
|
$BF[] = phrasea::collFromBas($base_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user