From: erickson Date: Thu, 23 Sep 2010 20:47:47 +0000 (+0000) Subject: repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a53f0e77cb914c1721d7d32e79acc68afe94e13d;p=evergreen%2Fbjwebb.git 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 --- 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'