Bug 8458 - $stemmed_operand in C4::Search _build_stemmed_operand is not initialized. Added =q{} to initialize it to the empty string at declaration time.
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 696789bae5)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
f8ce5f60dd
commit
7ccbd72125
|
|
@ -719,7 +719,7 @@ sub _detect_truncation {
|
|||
sub _build_stemmed_operand {
|
||||
my ($operand,$lang) = @_;
|
||||
require Lingua::Stem::Snowball ;
|
||||
my $stemmed_operand;
|
||||
my $stemmed_operand=q{};
|
||||
|
||||
# If operand contains a digit, it is almost certainly an identifier, and should
|
||||
# not be stemmed. This is particularly relevant for ISBNs and ISSNs, which
|
||||
|
|
|
|||
Loading…
Reference in New Issue