Browse Source

* fixes for new mojo

master
Alex 'AdUser' Z 4 years ago
parent
commit
72aefb066b
  1. 4
      lib/LDV/Filebin.pm

4
lib/LDV/Filebin.pm

@ -68,7 +68,9 @@ sub save {
die "file too large\n" if ($upload->size > $conf->{file_maxsize});
unless ($upload->asset->is_file) {
$upload->asset->to_file;
my $file = $upload->asset->to_file;
$file->cleanup(1);
$upload->asset($file);
}
my $file = {

Loading…
Cancel
Save