From 8cb7e1cf06fbf38d46e5fae8e6859669d7c41eb5 Mon Sep 17 00:00:00 2001 From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Mon, 28 Dec 2009 20:05:06 +0000 Subject: [PATCH] syntax git-svn-id: svn://svn.open-ils.org/ILS/trunk@15234 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Booking.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Booking.pm b/Open-ILS/src/perlmods/OpenILS/Application/Booking.pm index 11ab3780bf..d3b41db165 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Booking.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Booking.pm @@ -551,7 +551,7 @@ sub capture_reservation { my $ret = { captured => 1, reservation => $reservation }; - if ($here <> $reservation->pickup_lib) { + if ($here != $reservation->pickup_lib) { return OpenILS::Event->new('RESERVATION_CAPTURE_FAILED', payload => { captured => 0, fail_cause => 'not-transferable' }) if (!$U->is_true($type->transferable)); # non-transferable resource -- 2.11.0