From 618e10c948721475353afc87f6cea529a3e488e0 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 30 Oct 2009 13:18:10 +0000 Subject: [PATCH] repaired function name and JSON git-svn-id: svn://svn.open-ils.org/ILS/trunk@14695 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../examples/action_trigger_filters.json.example | 14 +++++++------- .../src/support-scripts/action_trigger_runner.pl | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Open-ILS/examples/action_trigger_filters.json.example b/Open-ILS/examples/action_trigger_filters.json.example index b35f5edf74..9f56d52b27 100644 --- a/Open-ILS/examples/action_trigger_filters.json.example +++ b/Open-ILS/examples/action_trigger_filters.json.example @@ -1,12 +1,12 @@ { -'checkout.due' : - { 'context_org' : 'circ_lib', - 'filter' : - { 'checkin_time' : null, - '-or' : - [ { 'stop_fines' : ['MAXFINES', 'LONGOVERDUE'] }, - { 'stop_fines' : null } +"checkout.due" : + { "context_org" : "circ_lib", + "filter" : + { "checkin_time" : null, + "-or" : + [ { "stop_fines" : ["MAXFINES", "LONGOVERDUE"] }, + { "stop_fines" : null } ] } } diff --git a/Open-ILS/src/support-scripts/action_trigger_runner.pl b/Open-ILS/src/support-scripts/action_trigger_runner.pl index f6f26bd325..3b14c31df4 100755 --- a/Open-ILS/src/support-scripts/action_trigger_runner.pl +++ b/Open-ILS/src/support-scripts/action_trigger_runner.pl @@ -58,7 +58,7 @@ my $hook_handlers = { if ($opt_custom_filter) { open FILTERS, $opt_custom_filter; - $hook_handlers = OpenSRF::Utils::JSON->JSON2Perl(join('',())); + $hook_handlers = OpenSRF::Utils::JSON->JSON2perl(join('',())); close FILTERS; } -- 2.43.2