diff --git a/code/web/RecordDrivers/PalaceProjectRecordDriver.php b/code/web/RecordDrivers/PalaceProjectRecordDriver.php index 9f3024d4a0..6c1a6d58aa 100644 --- a/code/web/RecordDrivers/PalaceProjectRecordDriver.php +++ b/code/web/RecordDrivers/PalaceProjectRecordDriver.php @@ -270,7 +270,7 @@ function getTitleAvailability() : ?PalaceProjectTitleAvailability{ if (!empty($collections)){ $titleAvailability = new PalaceProjectTitleAvailability(); $titleAvailability->titleId = $this->id; - $titleAvailability->whereAddIn('collectionId', $this->getActiveCollectionIds(), false); + $titleAvailability->whereAddIn('collectionId', $collections, false); $titleAvailability->deleted = 0; if ($titleAvailability->find(true)){ return $titleAvailability;