From 2f8da0e71ffc9795d7ba8e558dc1a0c2c459127d Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 14 Apr 2008 19:03:36 +0000 Subject: [PATCH] rolling back segregation by branch.. if that kind of pre-sorting is needed, just grab the tree git-svn-id: svn://svn.open-ils.org/ILS/trunk@9352 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Actor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index c5bf8832da..a38ad7e005 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -1370,9 +1370,9 @@ sub check_user_work_perms { my @sublist = grep {$_ ne $orgid} @{$U->get_org_descendants($orgid)}; unshift @sublist, $orgid; # make sure it's at the front of the list if($self->api_name =~ /org_id_list/) { - push(@list, \@sublist); + push(@list, @sublist); } else { - push(@list, $e->batch_retrieve_actor_org_unit(\@sublist)); + push(@list, @{$e->batch_retrieve_actor_org_unit(\@sublist)}); } } -- 2.11.0