From 315329693185924ea09b0f21d7b3853543020edb Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 1 Jun 2012 08:10:21 +0100 Subject: [PATCH] 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 Removes a warning in logs Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack Signed-off-by: Jared Camins-Esakov --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 6be9f187a8..1e043c94b7 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -572,7 +572,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; -- 2.39.5