[Koha-bugs] [Bug 6060] New: opac-search.pl: Found = in conditional, should be ==
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 5 14:16:57 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6060
Bug #: 6060
Summary: opac-search.pl: Found = in conditional, should be ==
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: OPAC
AssignedTo: oleonard at myacpl.org
ReportedBy: magnus at enger.priv.no
QAContact: koha-bugs at lists.koha-community.org
Running "perl opac/opac-search.pl" gives this error:
Found = in conditional, should be == at /home/magnus/koha/opac/opac-search.pl
line 87.
The interesting bit looks like this:
87 if ($template_name = 'opac-results.tmpl') {
88 $template->param('COinSinOPACResults' =>
C4::Context->preference('COinSinOPACResults'));
89 }
Line 87 should probably look like this?
if ($template_name eq 'opac-results.tmpl') {
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list