[open-ils-commits] r12764 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 2 14:48:48 EDT 2009


Author: erickson
Date: 2009-04-02 14:48:44 -0400 (Thu, 02 Apr 2009)
New Revision: 12764

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
Log:
typo, descendents -> descendants

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2009-04-02 15:35:30 UTC (rev 12763)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/AppUtils.pm	2009-04-02 18:48:44 UTC (rev 12764)
@@ -1230,7 +1230,7 @@
     $options ||= {};
 
     my $func = 'permission.usr_has_perm_at';
-    $func = $func.'_all' if $$options{descendents};
+    $func = $func.'_all' if $$options{descendants};
 
     my $orgs = $e->json_query({from => [$func, $e->requestor->id, $perm]});
     $orgs = [map { $_->{'permission.usr_has_perm_at'} } @$orgs];



More information about the open-ils-commits mailing list