Bug 13419: (follow-up) fix call to set_userenv

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2015-04-22 17:28:23 +02:00 committed by Tomas Cohen Arazi
parent 9df787a22d
commit 46fbcaadf1
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ my %dt_params = (
my $search_results;
C4::Context->_new_userenv ('DUMMY_SESSION_ID');
C4::Context::set_userenv($john_doe{borrowernumber}, $john_doe{userid}, 'usercnum', 'First name', 'Surname', 'MYLIBRARY', 'My Library', 0);
C4::Context->set_userenv($john_doe{borrowernumber}, $john_doe{userid}, 'usercnum', 'First name', 'Surname', 'MYLIBRARY', 'My Library', 0);
# Search private lists by title
$search_results = C4::Utils::DataTables::VirtualShelves::search({