fix variable name

This commit is contained in:
yggverse 2024-03-27 05:02:14 +02:00
parent d07025e5ee
commit 21c6eb18dc

View File

@ -13,7 +13,7 @@ function getLastSnapTime(array $files): int
foreach ($files as $file)
{
if (is_dir($filename) || is_link($filename) || str_starts_with($filename, '.'))
if (is_dir($file) || is_link($file) || str_starts_with($file, '.'))
{
continue;
}