Bugzilla – Attachment 39055 Details for
Bug 14184
Noisy warns in C4/CourseReserves.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14184: Undefined $term causes noisy warns in C4/CourseReserves.pm
Bug-14184-Undefined-term-causes-noisy-warns-in-C4C.patch (text/plain), 811 bytes, created by
Aleisha Amohia
on 2015-05-12 04:25:59 UTC
(
hide
)
Description:
Bug 14184: Undefined $term causes noisy warns in C4/CourseReserves.pm
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-05-12 04:25:59 UTC
Size:
811 bytes
patch
obsolete
>From 737f92a4767cdba2bf53915fe6c0e52e1067c267 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 12 May 2015 02:08:17 +0000 >Subject: [PATCH] Bug 14184: Undefined $term causes noisy warns in > C4/CourseReserves.pm > >This patch sets $term to be an empty string. > >To test: > >1) Go to Course Reserves on the OPAC >2) Notice warns in error log >3) Apply patch >4) Reload page >5) Notice page still works but no warns >--- > C4/CourseReserves.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/CourseReserves.pm b/C4/CourseReserves.pm >index 4a7bb22..7e160d0 100644 >--- a/C4/CourseReserves.pm >+++ b/C4/CourseReserves.pm >@@ -1052,6 +1052,7 @@ sub SearchCourses { > GROUP BY c.course_id > "; > >+ $term //= ''; > $term = "%$term%"; > @params = ($term) x 10; > >-- >1.7.10.4
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 14184
:
39055
|
39174
|
39405