Bugzilla – Attachment 10910 Details for
Bug 8458
$stemmed_operand in C4::Search _build_stemmed_operand is not initialized.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
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.
Bug-8458---stemmedoperand-in-C4Search-buildstemmed.patch (text/plain), 946 bytes, created by
Kyle M Hall
on 2012-07-17 17:46:43 UTC
(
hide
)
Description:
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.
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-07-17 17:46:43 UTC
Size:
946 bytes
patch
obsolete
>From 0a04d3412175c8f61a0dd1dd481f728ba84c5c99 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 17 Jul 2012 20:53:57 +0800 >Subject: [PATCH] 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> >--- > C4/Search.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 4f61661..fd81610 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -732,7 +732,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 >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8458
:
10890
| 10910