From: miker Date: Sun, 3 Sep 2006 21:07:57 +0000 (+0000) Subject: typo X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f31bb95ec287cb1a5d815bc89553463289386e94;p=Evergreen.git typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@5897 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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; }