mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +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();
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user