Bug 8176 [SIGNED-OFF] Assign an intial value to $sqlwhere
warnings in log because of undefined value in string concatenation variable should be initialized to empty string rather than left undefined Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Removes a warning in logs Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
93c7f2a987
commit
6dda8a6379
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ sub GetSubscriptions {
|
|||
LEFT JOIN biblioitems ON biblio.biblionumber = biblioitems.biblionumber
|
||||
);
|
||||
my @bind_params;
|
||||
my $sqlwhere;
|
||||
my $sqlwhere = q{};
|
||||
if ($biblionumber) {
|
||||
$sqlwhere = " WHERE biblio.biblionumber=?";
|
||||
push @bind_params, $biblionumber;
|
||||
|
|
Loading…
Reference in a new issue