From c5dd5717ece4a889e6876d236dc53082b48afdbc Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Mon, 21 Sep 2009 17:23:38 +0200 Subject: [PATCH] Followup C4::Circulation.pm previous commit previous commit would generate warnings on compilation --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 08f571a1c1..81cc08ba0a 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -995,7 +995,7 @@ sub AddIssue { ); $item->{'issues'}++; ModItem({ issues => $item->{'issues'}, - holdingbranch => C4::Context->userenv->{branch} or $item->{'holdingbranch'}, + holdingbranch => C4::Context->userenv->{branch}, itemlost => 0, datelastborrowed => C4::Dates->new()->output('iso'), onloan => $datedue->output('iso'), -- 2.39.5