Skip to content
Snippets Groups Projects

'defined' will return 1 if compression is provided

Merged Marek Szuba requested to merge bugfix/url_upload into release/84
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -259,7 +259,7 @@ sub read_file {
}
}
else {
my $compression = defined($args->{'compression'}) || get_compression($url);
my $compression = $args->{'compression'} || get_compression($url);
if ($compression) {
uncompress(\$content, $compression);
}