[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
Thu Apr 25 09:48:15 CEST 2019


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

--- Comment #37 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 88704
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88704&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

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


More information about the Koha-bugs mailing list