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:
parent
c625ff9872
commit
07f16fc52e
|
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue