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

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=29955
                 CC|                            |[email protected]

--- Comment #1 from Marcel de Rooy <[email protected]> ---
(In reply to Steven Nickerson from comment #0)
> [Mon Oct 24 17:44:39.651936 2022] [cgi:error] [pid 21984] [client
> x.x.x.x:56417] AH01215: Use of inherited AUTOLOAD for non-method
> Koha::Virtualshelf::haspermission() is deprecated at
> /usr/share/koha/lib/Koha/Virtualshelf.pm line 247.:
> /usr/share/koha/opac/cgi-bin/opac/opac-shelves.pl, referer:
> http://WEBSITE/cgi-bin/koha/opac-shelves.pl?op=list&public=1

    return 1
      if $self->is_public and haspermission( $patron->userid, { lists =>
'edit_public_lists' } );

This is corrected in master with:
    return 1
      if $self->is_public and C4::Auth::haspermission( $patron->userid, { lists
=> 'edit_public_lists' } );

Solved on Bug 29955: Fix method import issues
This fix should be backported.

Trying to catch the attention of the 22.05 RMaint: Lucas Gass.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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