X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2Fupdate-image-cache.pl;fp=perl%2Fupdate-image-cache.pl;h=3857ae22db4918d3124a1d9e64c5e55a7d4b23fe;hp=213a7a0cb1ee6b14386161357762e699ad6b6318;hb=29f1fc41da78a3cb8177e28d0579453c8d6ecc4e;hpb=aeb95e559e5d54b0bcd86b46281735f86fb82610 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));