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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to