added isPreCat earlier in the script building and started working on renew.. strange
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 07:29:23 +0000 (07:29 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 07:29:23 +0000 (07:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5953 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index 41f8ab3..40d7fe3 100644 (file)
@@ -465,6 +465,10 @@ sub mk_script_runner {
       $self->script_runner->insert("$evt.nonCatType", $self->noncat_type);
        }
 
       $self->script_runner->insert("$evt.nonCatType", $self->noncat_type);
        }
 
+       if( $self->is_precat ) {
+               $self->script_runner->insert("environment.isPrecat", 1, 1);
+       }
+
        $self->script_runner->add_path( $_ ) for @$script_libs;
 
        return 1;
        $self->script_runner->add_path( $_ ) for @$script_libs;
 
        return 1;