aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-07-10 15:17:59 +0000
committermatthew <matthew>2009-07-10 15:17:59 +0000
commite199f892feb5ea64d20cd239d778599a0a44aeaa (patch)
tree7649ef7fc82b53caf97970be958340a76b08493d
parent6ce6b1bf890f03f5ea3cd69c298a4d15d714d739 (diff)
Grr, committed by mistake.
-rw-r--r--perllib/Page.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index e2fc687ce..c874786a2 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Page.pm,v 1.147 2009-07-10 15:17:29 matthew Exp $
+# $Id: Page.pm,v 1.148 2009-07-10 15:17:59 matthew Exp $
#
package Page;
@@ -18,7 +18,7 @@ use Error qw(:try);
use File::Slurp;
use HTTP::Date;
use Image::Magick;
-#use Image::Size;
+use Image::Size;
use LWP::Simple;
use Digest::MD5 qw(md5_hex);
use POSIX qw(strftime);
@@ -660,8 +660,7 @@ sub display_problem_text {
}
if ($problem->{photo}) {
- #my $dims = Image::Size::html_imgsize(\$problem->{photo});
- my $dims = '';
+ my $dims = Image::Size::html_imgsize(\$problem->{photo});
$out .= "<p align='center'><img alt='' $dims src='/photo?id=$problem->{id}'></p>";
}