Doh, typo
authorChris Cormack <chrisc@catalyst.net.nz>
Wed, 5 Mar 2014 21:56:56 +0000 (10:56 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 5 Mar 2014 21:56:56 +0000 (10:56 +1300)
lib/NCIP/ILS/Koha.pm

index 9c8d7db..b448963 100644 (file)
@@ -161,7 +161,7 @@ sub acceptitem {
         return $result;
     }
     my ( $success, $messages, $issue, $borrower ) =
-      AddReturn( $barcode, $branch, undef, undef );
+      AddReturn( $barcode, $branchcode, undef, undef );
     if ( $messages->{'NotIssued'} ) {
         $success = 1
           ; # we do this because we are only doing the return to trigger the reserve