[mb-commits] branch, mbs-5265, updated. MBS-5265, perl 5.10 fix in Edit::ReleaseGroup::SetCoverArt.

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1TZKpE-000617-RZ@wiley>
The branch, mbs-5265 has been updated
       via  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=3faab2fe5efa077ce31c75286717281c7a30d8a0 (commit)
      from  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=2725614e17c5a0568899de4a5a57522a603a3df6 (commit)

Summary of changes:
 .../Server/Edit/ReleaseGroup/SetCoverArt.pm        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 3faab2fe5efa077ce31c75286717281c7a30d8a0
Author: warp <[email protected]>
Date:   Fri Nov 16 13:14:41 2012 +0100

    MBS-5265, perl 5.10 fix in Edit::ReleaseGroup::SetCoverArt.

diff --git a/lib/MusicBrainz/Server/Edit/ReleaseGroup/SetCoverArt.pm b/lib/MusicBrainz/Server/Edit/ReleaseGroup/SetCoverArt.pm
index acfde25..20b6c7c 100644
--- a/lib/MusicBrainz/Server/Edit/ReleaseGroup/SetCoverArt.pm
+++ b/lib/MusicBrainz/Server/Edit/ReleaseGroup/SetCoverArt.pm
@@ -102,7 +102,7 @@ sub build_display_data {
 
     my %data;
 
-    my @releases = values $loaded->{Release};
+    my @releases = values %{ $loaded->{Release} };
     my $artwork = $self->c->model ('Artwork')->find_front_cover_by_release (
         @releases);
     $self->c->model ('CoverArtType')->load_for (@$artwork);

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


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.