diff options
author | matthew <matthew> | 2009-07-10 15:17:28 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-07-10 15:17:28 +0000 |
commit | 6ce6b1bf890f03f5ea3cd69c298a4d15d714d739 (patch) | |
tree | c4c3b8d62c9c822a9a53a1441efb79abe06d5faf /perllib/Page.pm | |
parent | d8965858c21a47753ba1ba9292f00d24df22a650 (diff) |
Store site lang for reports, updates, alerts, so that future emails on them
are in that language.
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r-- | perllib/Page.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index b31d7762a..e2fc687ce 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.146 2009-07-10 12:37:52 matthew Exp $ +# $Id: Page.pm,v 1.147 2009-07-10 15:17:29 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,7 +660,8 @@ sub display_problem_text { } if ($problem->{photo}) { - my $dims = Image::Size::html_imgsize(\$problem->{photo}); + #my $dims = Image::Size::html_imgsize(\$problem->{photo}); + my $dims = ''; $out .= "<p align='center'><img alt='' $dims src='/photo?id=$problem->{id}'></p>"; } |