Skip to content

Commit

Permalink
NBBIB-461 Remove script data safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
camilocodes committed Aug 19, 2024
1 parent 8ffe341 commit 53d2b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/modules/nbbib_util/script/format_initials.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function format_initials($type) {

if (ctype_alpha($lastchar) && $prevchar == ' ') {
echo "\nUpdating contributor [$first_name $last_name] -> [$first_name. $last_name]";
// $entity->setFirstName("$last_name, $first_name");
// $entity->save();
$entity->setFirstName("$last_name, $first_name");
$entity->save();
}
}
}
Expand Down

0 comments on commit 53d2b5e

Please sign in to comment.