From: Steinar H. Gunderson Date: Sat, 28 Nov 2015 13:46:58 +0000 (+0100) Subject: Unbreak a weird special case. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=fd38bb6363334ccb1ed756ace442b59c5bdf6bd1;hp=5e566ec44c046faca8700f7326188f3e7325f056;ds=sidebyside Unbreak a weird special case. --- diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 171f47d..6685008 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -603,7 +603,6 @@ sub ensure_cached { $img = read_original_image($r, $filename, $id, $dbwidth, $dbheight, 0); $new_dbwidth = $width = $img->Get('columns'); $new_dbheight = $height = $img->Get('rows'); - @$img = (); } else { $img = Image::Magick->new; $width = $dbwidth;