Skip to content

Commit 24f45c8

Browse files
authored
Merge pull request #461 from jjrom/develop
Develop
2 parents b879017 + 9030aa2 commit 24f45c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/resto/core/RestoConstants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RestoConstants
2020
// [IMPORTANT] Starting resto 7.x, default routes are defined in RestoRouter class
2121

2222
// resto version
23-
const VERSION = '9.0.0-RC23';
23+
const VERSION = '9.0.0-RC24';
2424

2525
/* ============================================================
2626
* NEVER EVER TOUCH THESE VALUES

app/resto/core/dbfunctions/CatalogsFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private function storeCatalog($catalog, $userid, $context, $collectionId, $featu
472472
$insert = '(id, title, description, level, counters, owner, visibility, rtype, links, created) SELECT $1,$2,$3,$4,$5,$6,$7,$8,$9,now()';
473473
}
474474

475-
$insert = 'INSERT INTO ' . $this->dbDriver->targetSchema . '.catalog (id, title, description, level, counters, owner, links, visibility, rtype, created) SELECT $1,$2,$3,$4,$5,$6,$7,$8,$9,now() ON CONFLICT (id) DO NOTHING';
475+
$insert = 'INSERT INTO ' . $this->dbDriver->targetSchema . '.catalog ' . $insert . ' ON CONFLICT (id) DO NOTHING';
476476
$this->dbDriver->pQuery($insert, $values, 500, 'Cannot insert catalog ' . $catalog['id']);
477477

478478
/*

0 commit comments

Comments
 (0)