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

            Bug ID: 37111
           Summary: OPAC renewal - CSRF "op must be set"
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In the OPAC, when a patron clicks the "renew" link for an item they get an
error:

op must be set at /kohadevbox/koha/opac/opac-renew.pl line 36

    in (eval) at /kohadevbox/koha/opac/opac-renew.pl line 36

       33: my $query = CGI->new;
       34: my $op = $query->param('op') || q{};
       35: 
       36: die "op must be set" unless $op eq 'cud-renew';
...

To replicate (using KTD):
1. Check some items out to a patron
2. Set the username and apssword for the patron so that you can log in as that
patron.
3. Log in to the OAPC as that patron.
4. Go to Your account > Summary (the default landing page after you log in).
5. Click "Renew" for one of the items.
6. You get the error as above.

-- 
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