Revert "Bug 37870: Remove warning if biblionumber is not passed"

This reverts commit 1946bdde6e.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2024-12-05 16:33:14 +00:00
parent 146c8327c1
commit 15734ad2c3
1 changed files with 2 additions and 5 deletions

View File

@ -52,11 +52,8 @@ sub new {
my $self = {};
if ( exists $self->{biblionumber} ) {
$self->{biblionumber} = $params->{biblionumber} =~ s/\D//gr;
# just in case biblionumber obtained from CGI and passed directly here contains weird characters like spaces
}
$self->{biblionumber} = $params->{biblionumber} =~ s/\D//gr;
# just in case biblionumber obtained from CGI and passed directly here contains weird characters like spaces
bless $self, $class;
return $self;