getBeUserCatMounts($pageId); if (empty($allowedTopics)) { $allowedTopics = [0]; } if ($table == 'tx_lunotices_domain_model_notices' && !$BE_USER->user['admin']) { $queryBuilder->andWhere('topic_id IN ('.implode(',', $allowedTopics).')'); } } }