fix param format for retrieve_
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 Mar 2009 01:08:32 +0000 (01:08 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 Mar 2009 01:08:32 +0000 (01:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12330 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Trigger/Event.pm

index ed8b830..bf708bb 100644 (file)
@@ -428,7 +428,8 @@ sub _object_by_path {
     $meth =~ s/Fieldmapper:://;
     $meth =~ s/::/_/;
 
-    my $obj = $self->editor->$meth( { $ffield => $context->$lfield() } );
+    my $obj = $self->editor->$meth( 
+        ($multi) ? { $ffield => $context->$lfield() } : $context->$lfield() );
 
     if (@$path) {