[open-ils-commits] r17931 - trunk/Open-ILS/src/perlmods/OpenILS/Application (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 23 16:47:52 EDT 2010
Author: erickson
Date: 2010-09-23 16:47:47 -0400 (Thu, 23 Sep 2010)
New Revision: 17931
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
Log:
repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos/usr/user/
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-09-23 18:58:38 UTC (rev 17930)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm 2010-09-23 20:47:47 UTC (rev 17931)
@@ -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