From 07f16fc52e7192588f04cfa115c997506ab480bf Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Tue, 5 Apr 2011 17:49:35 +0200 Subject: [PATCH] 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 Signed-off-by: Chris Cormack --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index e2725fa805..c30ee21d88 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')); } -- 2.39.5