Let's go back to this way for the time being. I tried calling it as ->get_org_tree...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 20 Sep 2008 02:32:49 +0000 (02:32 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 20 Sep 2008 02:32:49 +0000 (02:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10654 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index aa07b05..5e17c0f 100644 (file)
@@ -1293,7 +1293,7 @@ sub check_user_perms3 {
        my $e = new_editor(authtoken=>$authtoken);
        return $e->event unless $e->checkauth;
 
        my $e = new_editor(authtoken=>$authtoken);
        return $e->event unless $e->checkauth;
 
-       my $tree = $self->get_org_tree();
+       my $tree = $U->get_org_tree();
 
     unless($e->requestor->id == $user_id) {
         my $user = $e->retrieve_actor_user($user_id)
 
     unless($e->requestor->id == $user_id) {
         my $user = $e->retrieve_actor_user($user_id)