From bce9db0e6eb3d8820a8c54bb73caa45bd7b0c2f2 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov 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