Bugzilla – Attachment 3678 Details for
Bug 5957
COiNS in the OPAC search results should be optional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up patch
bug_5957.patch (text/plain), 973 bytes, created by
Jared Camins-Esakov
on 2011-04-05 12:24:07 UTC
(
hide
)
Description:
Follow-up patch
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2011-04-05 12:24:07 UTC
Size:
973 bytes
patch
obsolete
>From bce9db0e6eb3d8820a8c54bb73caa45bd7b0c2f2 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@bywatersolutions.com> >Date: Sat, 2 Apr 2011 17:55:45 -0400 >Subject: [PATCH] Bug 5957 follow-up: use comparison operator in if >Content-Type: text/plain; charset="UTF-8" > >The patch for bug 5957 used an assignment operator instead of a comparison >operator. Replace the assignment operator with the string comparison that was >desired. >--- > opac/opac-search.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index e2725fa..c30ee21 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -84,7 +84,7 @@ else { > authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), > } > ); >-if ($template_name = 'opac-results.tmpl') { >+if ($template_name eq 'opac-results.tmpl') { > $template->param('COinSinOPACResults' => C4::Context->preference('COinSinOPACResults')); > } > >-- >1.7.2.3 >
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 5957
:
3598
| 3678 |
3709
|
3710