Skip to content

Commit 714ef35

Browse files
committed
Quick hack to correct feature referencing a collection alias during ingestion
1 parent f0b5333 commit 714ef35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/resto/core/dbfunctions/CatalogsFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ private function getCleanLinks($catalog, $userid, $baseUrl) {
739739
$output['internalItems'][] = $internalItem;
740740

741741
// Check for link existence !
742-
if ( !(new FeaturesFunctions($this->dbDriver))->featureExists($internalItem['id'], $this->dbDriver->targetSchema . '.feature', $internalItem['collection']) ) {
742+
if ( !(new FeaturesFunctions($this->dbDriver))->featureExists($internalItem['id'], $this->dbDriver->targetSchema . '.feature') ) {
743743
return RestoLogUtil::httpError(400, 'Feature ' . $internalItem['href'] . ' does not exist. Ingest it first !');
744744
}
745745

0 commit comments

Comments
 (0)