From da5aeeb3e798fd483a6dbb8620cf8a431c46d663 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 1 Jun 2009 19:46:32 +0000 Subject: [PATCH] old-school circ scripts require refreshed script runner on renewals git-svn-id: svn://svn.open-ils.org/ILS/trunk@13275 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm index 3588a188ae..8c8fd415b3 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm @@ -2426,6 +2426,7 @@ sub run_renew_permit { my $result = $runner->run or throw OpenSRF::EX::ERROR ("Circ Permit Renew Script Died: $@"); $events = $result->{events}; + $self->mk_script_runner; } $logger->activity("ciculator: circ_permit_renew for user ". @@ -2434,7 +2435,6 @@ sub run_renew_permit { $self->push_events(OpenILS::Event->new($_)) for @$events; $logger->debug("circulator: re-creating script runner to be safe"); - #$self->mk_script_runner; } -- 2.11.0