From: miker Date: Tue, 11 Mar 2008 16:36:32 +0000 (+0000) Subject: use the correct context node, duh X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=434bf3a79102c6d853effe7d01d9a226b166f5d5;p=Evergreen.git use the correct context node, duh git-svn-id: svn://svn.open-ils.org/ILS/trunk@8969 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm b/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm index 924bd57542..173287cb32 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/PermaCrud.pm @@ -169,7 +169,7 @@ sub search_permacrud { return undef; } -for my $class_node ( $xpc->findnodes( '//idl:class[perm:permacrud]', $class_node ) ) { +for my $class_node ( $xpc->findnodes( '//idl:class[perm:permacrud]', $idl->documentElement ) ) { my $hint = $class_node->getAttribute('id'); for my $action_node ( $xpc->findnodes( "perm:permacrud/perm:actions/perm:*", $class_node ) ) {