calling noop with no arguments (and not capturing the output) is, well, a no-op....
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Oct 2010 20:05:52 +0000 (20:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Oct 2010 20:05:52 +0000 (20:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18532 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 6432643..9083544 100644 (file)
@@ -268,7 +268,7 @@ sub run_method {
     $circulator->is_checkin(1) if $api =~ /checkin/;
 
     $circulator->mk_env();
-    $circulator->noop if $circulator->claims_never_checked_out;
+    $circulator->noop(1) if $circulator->claims_never_checked_out;
 
     if($legacy_script_support and not $circulator->is_checkin) {
         $circulator->mk_script_runner();