From: phasefx Date: Mon, 28 Dec 2009 20:05:06 +0000 (+0000) Subject: syntax X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8cb7e1cf06fbf38d46e5fae8e6859669d7c41eb5;p=Evergreen.git syntax git-svn-id: svn://svn.open-ils.org/ILS/trunk@15234 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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