inc/ui/CRUDSkeleton.php
@@ -931,12 +931,13 @@ /** * Get common terms for taxonomy * @param string $taxonomy * @param string|null $limit * @return array */ protected function getCommonTerms(string $taxonomy, ?string $limit = null):array { if ($limit) { if (Site::has('membership') && $limit === 'user') { $manager = new UserTermsManager(); $manager = UserTermsManager::getInstance(); return $manager->fetchUserTerms($this->user_id, $taxonomy); } else { $limit = (int)$limit;