bug fixes after testing
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Utils / ScriptRunner.pm
index eb7b2ec..fa7e04a 100644 (file)
@@ -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 {}
                                )