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 <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Jared Camins-Esakov 2011-04-05 17:49:35 +02:00 committed by Chris Cormack
parent c625ff9872
commit 07f16fc52e
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}