From e85cf7756fc4be8b3edd1a19f46725e68b12a82b Mon Sep 17 00:00:00 2001 From: joshferraro Date: Wed, 24 Mar 2004 21:06:48 +0000 Subject: [PATCH] Fixes Bug 763 (Location will not change) replaced: $dbh->do("UPDATE items holdingbranch = $tbr WHERE items.itemnumbe$ &itemseen($itm); with: $dbh->do("UPDATE items set holdingbranch = $tbr WHERE items.itemnumbe$ &itemseen($itm); --- C4/Circulation/Circ2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index cb1dfdd14a..c0ab9d7297 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -476,7 +476,7 @@ sub dotransfer { $dbh->do("INSERT INTO branchtransfers (itemnumber, frombranch, datearrived, tobranch) VALUES ($itm, $fbr, now(), $tbr)"); #update holdingbranch in items ..... - $dbh->do("UPDATE items holdingbranch = $tbr WHERE items.itemnumber = $itm"); + $dbh->do("UPDATE items set holdingbranch = $tbr WHERE items.itemnumber = $itm"); &itemseen($itm); return; } -- 2.39.5