Skip to content

Commit

Permalink
NBBIB-451 Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Sep 11, 2024
1 parent c1f44c1 commit 0f0ee35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/modules/unblib_marc/script/import_marc.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
'location' => [
'marc' => '691$a',
'target' => 'topics',
'process' => 'create_topic',
'process' => 'create_descriptors',
'append' => TRUE,
],
];
Expand Down Expand Up @@ -433,7 +433,7 @@ function create_descriptors($data, $record) {
return $topics;
}

function create_topic($data, $record) {
function create_topic($data) {
$topic = text_trim($data);
$voc = 'yabrm_reference_topic';
$field = 'name';
Expand Down

0 comments on commit 0f0ee35

Please sign in to comment.