[Koha-bugs] [Bug 20256] Add ability to limit editing of items to home library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 17 13:28:36 CET 2020


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

--- Comment #184 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 113715
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113715&action=edit
Bug 20256: (QA follow-up) test borrowernumber in userenv too

Bug 22600 added userenv for scripts, so userenv is defined, but some of
values in userenv not

Test plan:
Run with some params: misc/cronjobs/delete_items.pl

--> without this patch you will se error message:
    Can't call method "can_edit_item" on an undefined value at
/home/vagrant/kohaclone/C4/Items.pm line 1748
--> with this patch everything works smoothly

Signed-off-by: Bob Bennhoff - CLiC <bbennhoff at clicweb.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list