From e2f10af17168411e386bd06954531696e3ee8a60 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 27 Sep 2010 19:16:57 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger.pm index 615295c7a..8b8e98214 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' } -- 2.11.0