[open-ils-commits] [GIT] Evergreen ILS branch master updated. e04f9382c578010b355fe9ad214cf06b197ef9d5

Evergreen Git git at git.evergreen-ils.org
Thu Jul 14 11:48:17 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  e04f9382c578010b355fe9ad214cf06b197ef9d5 (commit)
      from  43a7967a7515cb18db3bd051b2fea15467047ce5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e04f9382c578010b355fe9ad214cf06b197ef9d5
Author: Mike Rylander <mrylander at gmail.com>
Date:   Thu Jul 14 11:42:26 2011 -0400

    Correct CDBI thinko -- search_where is smart about wantarray, search is not
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
index ca1e0df..23717a7 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
@@ -1271,7 +1271,7 @@ sub new_hold_copy_targeter {
 						isTrue($_->holdable) &&
 						!isTrue($_->deleted) &&
 						(isTrue($hold->mint_condition) ? isTrue($_->mint_condition) : 1) &&
-						($hold->hold_type ne 'P' ? @{ $_->part_maps } == 0 : 1)
+						($hold->hold_type ne 'P' ? $_->part_maps->count == 0 : 1)
 					} @$all_copies;
 
 			# let 'em know we're still working

-----------------------------------------------------------------------

Summary of changes:
 .../Application/Storage/Publisher/action.pm        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list