warnings in log because of undefined value in
string concatenation
variable should be initialized to empty string rather
than left undefined
---
C4/Serials.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/C4/Serials.pm b/C4/Serials.pm
index 20ad706..af5c833 100644
--- a/C4/Serials.pm
+++ b/C4/Serials.pm
@@ -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;
--
1.7.11.rc0
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/