using boolean test wrapper function
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Apr 2008 19:51:42 +0000 (19:51 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 2 Apr 2008 19:51:42 +0000 (19:51 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9197 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index c79db1c..cbc133a 100644 (file)
@@ -149,7 +149,7 @@ sub create_hold {
        $conn->respond_complete(1);
 
     for(@holds) {
-        next if $_->frozen;
+        next if $U->is_true($_->frozen);
            $U->storagereq(
                    'open-ils.storage.action.hold_request.copy_targeter', 
                    undef, $_->id );