From a53f0e77cb914c1721d7d32e79acc68afe94e13d Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 23 Sep 2010 20:47:47 +0000 Subject: [PATCH] repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos/usr/user/ git-svn-id: svn://svn.open-ils.org/ILS/trunk@17931 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm index 78868cba0..306a91653 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -68,7 +68,7 @@ sub create_active_events_for_object { my $uid = $target->$ufield; $uid = $uid->id if (ref $uid); # fleshed user object, unflesh it - my $opt_in_setting = $editor->search_actor_usr_setting( + my $opt_in_setting = $editor->search_actor_user_setting( { usr => $uid, name => $def->opt_in_setting, value => 'true' @@ -154,7 +154,7 @@ sub create_event_for_object_and_def { my $uid = $target->$ufield; $uid = $uid->id if (ref $uid); # fleshed user object, unflesh it - my $opt_in_setting = $editor->search_actor_usr_setting( + my $opt_in_setting = $editor->search_actor_user_setting( { usr => $uid, name => $def->opt_in_setting, value => 'true' -- 2.11.0