Kosmetik
authorJan Büren <jan@kivitendo-premium.de>
Wed, 26 Jul 2017 07:46:36 +0000 (09:46 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Wed, 26 Jul 2017 07:46:36 +0000 (09:46 +0200)
SL/File/Backend/Filesystem.pm

index 45254c9..68263b8 100644 (file)
@@ -78,8 +78,9 @@ sub get_mtime {
   my ($self, %params) = @_;
   die "no dbfile" unless $params{dbfile};
   die "unknown version" if $params{version} &&
-                          ($params{version} < 0 || $params{version} > $params{dbfile}->backend_data) ;
-  my $path = $self->_filesystem_path($params{dbfile},$params{version});
+                          ($params{version} < 0 || $params{version} > $params{dbfile}->backend_data);
+  my $path = $self->_filesystem_path($params{dbfile}, $params{version});
+
   die "No file found at $path. Expected: $params{dbfile}{file_name}, file.id: $params{dbfile}{id}" if !-f $path;
 
   my @st = stat($path);