[Koha-patches] [PATCH] (bug #3562) fix checking-in a document in another branch

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Thu Aug 27 16:15:36 CEST 2009


This patch copy the koha 3.2 way to do.
---
 C4/Circulation.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 07a52ec..59ffc97 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -1315,7 +1315,7 @@ sub AddReturn {
         $doreturn = 0;
     } else {
         # find the borrower
-        if ( ( not $iteminformation->{borrowernumber} ) && $doreturn ) {
+        if ( not $iteminformation ) {
             $messages->{'NotIssued'} = $barcode;
             # even though item is not on loan, it may still
             # be transferred; therefore, get current branch information
-- 
1.6.0.4




More information about the Koha-patches mailing list