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

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Fri Aug 28 12:41:41 CEST 2009


there is no transfert alert if you make a return in another branch than the homebranch.
---
 C4/Circulation.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 07a52ec..7882b4b 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->{borrowernumber} ) {
             $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