bug fixes after testing
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Jan 2006 06:10:26 +0000 (06:10 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 18 Jan 2006 06:10:26 +0000 (06:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2741 dcc99617-32d9-48b4-a31d-7c20da2025e4

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 {}
                                )