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:
parent
146c8327c1
commit
15734ad2c3
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue