Skip to content

Commit a9b231e

Browse files
authored
Fix deprecation warning (#3936)
1 parent 61ad72a commit a9b231e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Actions/Import/Pipes/ImportPhotos.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private function importImagesForNode(FolderNode $node): void
8080
}
8181

8282
foreach ($image_paths as $idx => $image_path) {
83-
$this->importSingleImage($image_path, $node->album, $idx / $total * 100);
83+
$this->importSingleImage($image_path, $node->album, intval($idx / $total * 100));
8484
}
8585

8686
// Dispatch recompute jobs for the album after importing photos

0 commit comments

Comments
 (0)