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

This commit is contained in:
Robin Appelman 2012-11-08 20:47:40 +01:00
parent 15b8a3f987
commit 5a173b901f
1 changed files with 3 additions and 3 deletions

View File

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