fetch the full my-orgs list from the passed ou
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Oct 2006 16:42:29 +0000 (16:42 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Oct 2006 16:42:29 +0000 (16:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6487 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index b8c5800..a39c699 100644 (file)
@@ -402,7 +402,7 @@ sub magic_fetch_all {
        if ($orgs && !$$args{no_fetch}) {
                ($orgs) = $self
                                ->method_lookup( 'open-ils.reporter.org_unit.full_path' )
-                               ->run( $orgs );
+                               ->run( @$orgs );
                $orgs = [ map {$_->id} @$orgs ];
        }