Skip to content

Commit

Permalink
NBBIB-451 Remove discarded debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Sep 20, 2024
1 parent 5dcd55e commit a20caff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions custom/modules/unblib_marc/script/import_marc.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,7 @@ function migrateMarc(string $source, string $entity_type, array $map, bool $publ
}

}
else {
if (is_string($value) and (str_contains($value, '[') or str_contains($value, '['))) {
echo "\nCONTAINS []\n";
var_dump($field, $og_value, $value);
echo "\n";
}

else {
$entity->set($field, $value);
}
}
Expand Down

0 comments on commit a20caff

Please sign in to comment.