2309
2297
$categoriesFields = CMS_poly_object_catalog::objectHasCategories($objectParentID);
2310
2298
if (is_array($categoriesFields) && $categoriesFields) {
2311
2299
//load current object definition
2313
2301
foreach($objectParentFields as $fieldID) {
2314
2302
$search = new CMS_object_search($object,$this->_public);
2315
2303
$search->addWhereCondition($fieldID, $this->getID());