thinko during reservation code changes, spotted by Bill
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Dec 2009 20:02:20 +0000 (20:02 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Dec 2009 20:02:20 +0000 (20:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15211 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index 14ff233..6720a39 100644 (file)
@@ -224,7 +224,7 @@ sub run_method {
         $circulator->editor->rollback;
         return $data;
 
-    } elsif( $api =~ // ) {
+    } elsif( $api =~ /checkout/ ) {
         $circulator->is_checkout(1);
         $circulator->do_checkout();