Fix my own typo in Actor.pm line 3077.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 22 Sep 2011 19:23:53 +0000 (15:23 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 22 Sep 2011 19:23:53 +0000 (15:23 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm

index 367f6cf..03fd648 100644 (file)
@@ -3074,7 +3074,7 @@ sub create_user_opt_in_at_org {
         # get the org unit at that depth
         my $org = $e->json_query({ 
             from => [ 'actor.org_unit_ancestor_at_depth', $wsou, $opt_depth ]});
-        if ($ref($org) eq 'ARRAY') {
+        if (ref($org) eq 'ARRAY') {
             $org = $org->[0];
             $org_id = $org->{id};
         }