From: Chris Cormack Date: Tue, 12 Aug 2014 21:17:08 +0000 (+1200) Subject: Fixing a bug in the userenv for Koha X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=27fd8336daf9c651ce60af913df3c76da67f1820;p=NCIPServer.git Fixing a bug in the userenv for Koha --- diff --git a/lib/NCIP/ILS/Koha.pm b/lib/NCIP/ILS/Koha.pm index 6538ff3..a33e37f 100644 --- a/lib/NCIP/ILS/Koha.pm +++ b/lib/NCIP/ILS/Koha.pm @@ -62,11 +62,11 @@ sub userenv { 'Test', $branch, #branchcode need to set this properly 'Auckland', - 0, + 1, ); C4::Context->_new_userenv('DUMMY_SESSION_ID'); - C4::Context->set_userenv(@USERENV); + C4::Context::set_userenv(@USERENV); return; }