From: miker Date: Mon, 27 Sep 2010 19:16:57 +0000 (+0000) Subject: Correct the subquery for A/T opt_in_setting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e2f10af17168411e386bd06954531696e3ee8a60;p=evergreen%2Ftadl.git Correct the subquery for A/T opt_in_setting git-svn-id: svn://svn.open-ils.org/ILS/trunk@18041 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 615295c7a6..8b8e982149 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm @@ -469,7 +469,7 @@ sub create_batch_events { '-exists' => { from => 'aus', where => { - name => $def->id, + name => $def->opt_in_setting, usr => { '=' => { '+' . $hook_hash{$def->hook}->core_type => $def->usr_field } }, value=> 'true' }