Bug 36146

Summary: checkout text box does not appear after clicking override restriction temporarily
Product: Koha Reporter: jb <siewyee2>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: 23.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description jb 2024-02-22 00:25:45 UTC
Checkout text box does not appear after clicking the "override restriction temporarily" button.

userenv was not set and haspermission was always returning false when forceallow=1

had to move this line after get_template_and_user
my $userenv = C4::Context->userenv;

this was fixed in 23.11