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

(-)a/plugins/plugins-upload.pl (-2 / +1 lines)
Lines 75-81 if ($plugins_enabled) { Link Here
75
        if ( $uploadlocation ) {
75
        if ( $uploadlocation ) {
76
            my $ua = Mojo::UserAgent->new(max_redirects => 5);
76
            my $ua = Mojo::UserAgent->new(max_redirects => 5);
77
            my $tx = $ua->get($uploadlocation);
77
            my $tx = $ua->get($uploadlocation);
78
            $tx->result->save_to($tempfile);
78
            $tx->result->content->asset->move_to($tempfile);
79
        } else {
79
        } else {
80
            $errors{'EMPTYUPLOAD'}    = 1 unless ( length($uploadfile) > 0 );
80
            $errors{'EMPTYUPLOAD'}    = 1 unless ( length($uploadfile) > 0 );
81
        }
81
        }
82
- 

Return to bug 23975