From 27fd8336daf9c651ce60af913df3c76da67f1820 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 13 Aug 2014 09:17:08 +1200 Subject: [PATCH] Fixing a bug in the userenv for Koha --- lib/NCIP/ILS/Koha.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.43.2