diff --git a/scripts/thumbnails.php b/scripts/thumbnails.php index e9a47ebc..9cd3430e 100644 --- a/scripts/thumbnails.php +++ b/scripts/thumbnails.php @@ -14,7 +14,7 @@ $size = isset($argv[1]) ? $argv[1] : 160; $postDao = Injector::get(PostDao::class); $postThumbnailService = Injector::get(PostThumbnailService::class); -foreach ($postDao->findAll() as $post) +foreach (array_reverse($postDao->findAll()) as $post) { try {