adding explicit id clear call as sanity measure
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Sep 2006 15:43:48 +0000 (15:43 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Sep 2006 15:43:48 +0000 (15:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6117 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 296f35c..3bacc21 100644 (file)
@@ -735,6 +735,7 @@ sub create_copy_note {
        $note->create_date('now');
        $note->creator($requestor->id);
        $note->pub( ($U->is_true($note->pub)) ? 1 : 0 );
+       $note->clear_id;
 
        my $id = $U->storagereq(
                'open-ils.storage.direct.asset.copy_note.create', $note );