X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2Fupdate-image-cache.pl;h=3857ae22db4918d3124a1d9e64c5e55a7d4b23fe;hp=213a7a0cb1ee6b14386161357762e699ad6b6318;hb=5e125fda482f5887459721b76ef24cf82aa4202b;hpb=45ee05e19e1039e74e2b7ca4955b007d2cd3ed69 diff --git a/perl/update-image-cache.pl b/perl/update-image-cache.pl index 213a7a0..3857ae2 100755 --- a/perl/update-image-cache.pl +++ b/perl/update-image-cache.pl @@ -118,7 +118,7 @@ while (my $ref = $q->fetchrow_hashref) { next unless $any_old; unlink (@files); if (scalar @noboxres > 0) { - Sesse::pr0n::Common::ensure_cached($r, $ref->{'filename'}, $id, $ref->{'width'}, $ref->{'height'}, 1, sort_res(@noboxres)); + Sesse::pr0n::Common::ensure_cached($r, $ref->{'filename'}, $id, $ref->{'width'}, $ref->{'height'}, sort_res(@noboxres)); } if (scalar @boxres > 0) { Sesse::pr0n::Common::ensure_infobox_cached($r, $ref->{'filename'}, $id, $ref->{'width'}, $ref->{'height'}, 1, sort_res(@boxres));