fetching data inside a xact when no editor object is provided so that we get fresh...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Sep 2006 15:33:01 +0000 (15:33 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Sep 2006 15:33:01 +0000 (15:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6078 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 9284a4b..01d53fd 100644 (file)
@@ -43,7 +43,7 @@ sub build {
        my $evt;
        my @evts;
 
        my $evt;
        my @evts;
 
-       my $editor = $$args{editor} || new_editor();
+       my $editor = $$args{editor} || new_editor(xact => 1);
 
        $args->{_direct} = {} unless $args->{_direct};
        
 
        $args->{_direct} = {} unless $args->{_direct};