[open-ils-commits] r17932 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 23 16:48:32 EDT 2010
Author: erickson
Date: 2010-09-23 16:48:27 -0400 (Thu, 23 Sep 2010)
New Revision: 17932
Modified:
branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos/usr/user/
Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-09-23 20:47:47 UTC (rev 17931)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-09-23 20:48:27 UTC (rev 17932)
@@ -68,7 +68,7 @@
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 @@
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'
More information about the open-ils-commits
mailing list