From f31bb95ec287cb1a5d815bc89553463289386e94 Mon Sep 17 00:00:00 2001 From: miker Date: Sun, 3 Sep 2006 21:07:57 +0000 Subject: [PATCH] typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@5897 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../OpenILS/Application/Storage/Publisher/action.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm index 85fbe11faf..3607afcf8f 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm @@ -326,7 +326,11 @@ sub hold_pull_list { my $sth = action::survey->db_Main->prepare_cached($select); $sth->execute($ou); - $client->respond( $id_list ? $_->id : $_->to_fieldmapper ) for ( map { action::hold_request->construct($_) } $sth->fetchall_hash ); + if ($idlist) { + $client->respond( $_->{id} ) for ( $sth->fetchall_hash ); + } else { + $client->respond( $_->to_fieldmapper ) for ( map { action::hold_request->construct($_) } $sth->fetchall_hash ); + } return undef; } -- 2.43.2