fix Scanner->scan setting the filesize to 0 for files

remotes/origin/stable5
Robin Appelman 13 years ago
parent 15b8a3f987
commit 5a173b901f
  1. 6
      lib/files/cache/scanner.php

@ -101,9 +101,9 @@ class Scanner {
}
}
}
}
if ($size !== -1) {
$this->cache->put($path, array('size' => $size));
if ($size !== -1) {
$this->cache->put($path, array('size' => $size));
}
}
return $size;
}

Loading…
Cancel
Save