LP 1549505: Fix syntax error in OpenILS/WWW/EGCatLoader/Record.pm
authorJason Stephenson <jstephenson@mvlcstaff.org>
Fri, 15 Apr 2016 13:36:51 +0000 (09:36 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 29 Jul 2016 20:56:11 +0000 (16:56 -0400)
Typo/error apparently introduced on line 72 in commit eeee27c.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm

index 0253478..04f3cbe 100644 (file)
@@ -69,7 +69,7 @@ sub load_record {
     if ($self->cgi->param('badges')) {
         my $badges = $self->cgi->param('badges');
         $badges = $badges ? [split(',', $badges)] : [];
-        $badges = [grep { /^\d+$/ }, @$badges];
+        $badges = [grep { /^\d+$/ } @$badges];
         if (@$badges) {
             $self->ctx->{badge_scores} = $cstore->request(
                 'open-ils.cstore.direct.rating.record_badge_score.search.atomic',