Skip to content

Commit 2f022e4

Browse files
committed
single_valued_arrayref_to_scalar is a function, not a method.
1 parent 56bb447 commit 2f022e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MetaCPAN/Web/Controller/Author.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ sub index : Chained('root') PathPart('') Args(0) {
7272
$noLatest->{no_latest}->{$distro} ? () : $_->{fields};
7373
} @{ $faves_data->{hits}->{hits} }
7474
];
75-
$self->single_valued_arrayref_to_scalar($faves);
75+
single_valued_arrayref_to_scalar($faves);
7676
$faves = [ sort { $b->{date} cmp $a->{date} } @{$faves} ];
7777
}
7878

0 commit comments

Comments
 (0)