From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 28 Oct 2010 20:05:52 +0000 (+0000)
Subject: calling noop with no arguments (and not capturing the output) is, well, a no-op.... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=59dece1eb3c991c659ddc44d0866677f29c53208;p=evergreen%2Fjoelewis.git

calling noop with no arguments (and not capturing the output) is, well, a no-op.  set the value to true as originally intended

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18532 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
index 64326432a4..9083544699 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
@@ -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();