From 4345e51ac28e8d20f69149afb678fbd0eb2a196e Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 18 Jan 2006 06:10:26 +0000 Subject: [PATCH] bug fixes after testing git-svn-id: svn://svn.open-ils.org/ILS/trunk@2741 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm b/Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm index eb7b2ecea3..fa7e04aa90 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/ScriptRunner.pm @@ -62,6 +62,7 @@ sub init { sub refresh_context { my $self = shift; $self->context->destroy; + $self->{_loaded} = {}; $self->init; } @@ -245,7 +246,7 @@ sub insert_hash { ( !$RO ? sub { my( $hashkey, $val ) = @_; - $hash->{_js_prop_name($hashkey)} = $val; } + $hash->{_js_prop_name($hashkey)} = $val; } : sub {} ) -- 2.43.2