Skip to content

Commit 7cb2b6a

Browse files
authored
OpenAIRE hotfix post database migration
1 parent 62d3578 commit 7cb2b6a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/services/searchOpenAire.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use headstart\library;
99

1010
$post_params = $_POST;
11+
$precomputed_id = (isset($_POST["unique_id"]))?($_POST["unique_id"]):(null);
1112

1213
if (array_key_exists("acronymtitle", $_POST)) {
1314
$q = library\CommUtils::getParameter($_POST, "acronymtitle");
@@ -41,7 +42,7 @@
4142
, $post_params, $param_array
4243
, false
4344
, true, $id_array
44-
, null, true);
45+
, $precomputed_id, true);
4546

4647
echo $result
4748

0 commit comments

Comments
 (0)