https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28600

            Bug ID: 28600
           Summary: Variable "$patron" is not available
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 18989

In the logs:
Variable "$patron" is not available at /kohadevbox/koha/opac/opac-detail.pl
line 282

Coming from 
  commit 8de3d9a95f2f3a01b5ed309805d81c698ac8e550
  Bug 18989: (QA follow-up) Make controllers use Koha::Biblio->hidden_in_opac

-            'category'  => $borcat
+            'category'  => ($patron) ? $patron->categorycode : q{}

It's in a sub, and patron is declared outside.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18989
[Bug 18989] Allow displaying biblios with all items hidden by OpacHiddenItems
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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