From aaa87549898d67559f394eed3ed7972206ba5add Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sat, 2 Apr 2011 17:55:45 -0400 Subject: [PATCH 2/2] [SIGNED-OFF] Bug 5957 follow-up: use comparison operator in if 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. Signed-off-by: Claire Hernandez --- 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.1