View | Details | Raw Unified | Return to bug 30367
Collapse All | Expand All

(-)a/plugins/plugins-home.pl (-2 / +3 lines)
Lines 77-83 if ($plugins_enabled) { Link Here
77
                foreach my $result ( @{ $response->{items} } ) {
77
                foreach my $result ( @{ $response->{items} } ) {
78
                    next unless $result->{name} =~ /^koha-plugin-/;
78
                    next unless $result->{name} =~ /^koha-plugin-/;
79
                    my $releases = $result->{url} . "/releases/latest";
79
                    my $releases = $result->{url} . "/releases/latest";
80
                    my $release  = from_json( get($releases) );
80
                    my $release_info  = get($releases);
81
                    next unless $release_info;
82
                    my $release  = from_json( $release_info );
81
                    my $tag_name = $release->{tag_name};
83
                    my $tag_name = $release->{tag_name};
82
                    for my $asset ( @{$release->{assets}} ) {
84
                    for my $asset ( @{$release->{assets}} ) {
83
                        if ($asset->{browser_download_url} =~ m/\.kpz$/) {
85
                        if ($asset->{browser_download_url} =~ m/\.kpz$/) {
84
- 

Return to bug 30367