Skip to content

Commit

Permalink
Merge pull request #428 from qgau/master
Browse files Browse the repository at this point in the history
Update all catalog children
  • Loading branch information
jjrom authored Sep 27, 2024
2 parents 5e01c74 + 767f530 commit 329422a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/resto/core/dbfunctions/CatalogsFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ private function getCleanLinks($catalog, $userid, $baseUrl) {
}

if ($childCatalog['level'] === 1 && $childCatalog['owner'] === $userid) {
$output['updateCatalogs'][] = $childCatalog;
array_push($output['updateCatalogs'], ...$this->getCatalogs(array('id' => $childCatalog['id']), true));
}
else {
$output['links'][] = $link;
Expand Down

0 comments on commit 329422a

Please sign in to comment.